]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (chrt) fix various shellcheck warnings
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 29 Jan 2026 13:00:29 +0000 (08:00 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 29 Jan 2026 13:00:29 +0000 (08:00 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
tests/ts/chrt/chrt
tests/ts/chrt/chrt-non-root

index 82325389345e8f6d509e3eaeca5e19c935d6e594..c57f5ab4cd84fae75e53800c3b8fea57ef808d1d 100755 (executable)
@@ -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 {
index 8600981fa193802d65ef24f8e19a7e71485c3193..b8923c7c7c9f332480645d28e58dd3c13980fec3 100755 (executable)
@@ -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 {