]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tools/bootconfig: Replace some echo with printf for more portability
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Thu, 10 Jul 2025 02:24:09 +0000 (11:24 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 14 Jul 2025 02:55:58 +0000 (11:55 +0900)
commita141656ac81517207b1ed0dafdbada72d70d2900
tree2dd7bbc5450c13fbcf372c092092ea5c60fc26fb
parentbfed3dd2a1974896cb75556ac3af71c1c391cec4
tools/bootconfig: Replace some echo with printf for more portability

Since echo is not portable, use printf instead. This fixes a wrong
test result formatting in some environment. (showing "\t\t[OK]")
Also this uses printf command for generating test data instead of
echo.

Link: https://lore.kernel.org/all/175211424942.2591046.5439447789303314213.stgit@mhiramat.tok.corp.google.com/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
tools/bootconfig/test-bootconfig.sh