From f0a10aa338fc77d5969285e6da2bf091ef1224fe Mon Sep 17 00:00:00 2001 From: Rogger Vasquez Date: Mon, 12 Feb 2024 08:20:29 -0800 Subject: [PATCH] rpk: add missing newline in ballast tuner output script Fixes #16064 (cherry picked from commit a4d6f298c347b1dae8befc41374fb2c53686fd73) --- .../rpk/pkg/tuners/executors/commands/write_sized_file_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/go/rpk/pkg/tuners/executors/commands/write_sized_file_test.go b/src/go/rpk/pkg/tuners/executors/commands/write_sized_file_test.go index 749ff046eb60..ceaf67159621 100644 --- a/src/go/rpk/pkg/tuners/executors/commands/write_sized_file_test.go +++ b/src/go/rpk/pkg/tuners/executors/commands/write_sized_file_test.go @@ -27,7 +27,7 @@ func TestWriteSizedFileCmdRender(t *testing.T) { int64(1), ) - expected := "truncate -s 1 /some/made/up/filepath.txt" + expected := "truncate -s 1 /some/made/up/filepath.txt\n" var buf bytes.Buffer w := bufio.NewWriter(&buf)