From: Christian Goeschel Ndjomouo Date: Thu, 29 Jan 2026 13:00:29 +0000 (-0500) Subject: tests: (chrt) fix various shellcheck warnings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91a171468393c096a1edbb58abeb6d3639213970;p=thirdparty%2Futil-linux.git tests: (chrt) fix various shellcheck warnings Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/tests/ts/chrt/chrt b/tests/ts/chrt/chrt index 823253893..c57f5ab4c 100755 --- a/tests/ts/chrt/chrt +++ b/tests/ts/chrt/chrt @@ -25,7 +25,7 @@ ts_skip_docker ts_skip_qemu_user function do_chrt { - $TS_CMD_CHRT $* $TS_CMD_CHRT --pid 0 | sed 's/.* policy: //; s/.* priority: //' >> $TS_OUTPUT 2>> $TS_ERRLOG + $TS_CMD_CHRT "$@" $TS_CMD_CHRT --pid 0 | sed 's/.* policy: //; s/.* priority: //' >> $TS_OUTPUT 2>> $TS_ERRLOG } function skip_policy { diff --git a/tests/ts/chrt/chrt-non-root b/tests/ts/chrt/chrt-non-root index 8600981fa..b8923c7c7 100755 --- a/tests/ts/chrt/chrt-non-root +++ b/tests/ts/chrt/chrt-non-root @@ -25,7 +25,7 @@ ts_check_test_command "$TS_CMD_CHRT" TS_KNOWN_FAIL="yes" function do_chrt { - $TS_CMD_CHRT $* $TS_CMD_CHRT --pid 0 | sed 's/.* policy: //; s/.* priority: //' >> $TS_OUTPUT 2>> $TS_ERRLOG + $TS_CMD_CHRT "$@" $TS_CMD_CHRT --pid 0 | sed 's/.* policy: //; s/.* priority: //' >> $TS_OUTPUT 2>> $TS_ERRLOG } function skip_policy {