From: Christian Goeschel Ndjomouo Date: Fri, 10 Apr 2026 19:15:36 +0000 (-0400) Subject: tests: do not mix string and array X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=190304361f3b9ca9fd725532185c2af999e1b4b1;p=thirdparty%2Futil-linux.git tests: do not mix string and array Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/tests/ts/fincore/count b/tests/ts/fincore/count index ab9beb7b2..a210c9a1e 100755 --- a/tests/ts/fincore/count +++ b/tests/ts/fincore/count @@ -39,7 +39,7 @@ function _dd msg=$(dd "$@" 2>&1) ret=$? if [ $ret != 0 ]; then - echo "failed: dd $@" >&2 + echo "failed: dd $*" >&2 echo "$msg" >&2 fi return $ret diff --git a/tests/ts/kill/options b/tests/ts/kill/options index c4151a9bd..7b9805bc9 100755 --- a/tests/ts/kill/options +++ b/tests/ts/kill/options @@ -41,12 +41,12 @@ try_option() [ $? -eq 1 ] || echo "${HELPER_SYMLINK##*/} helper did not start" >> "$TS_OUTPUT" if ! "$TS_CMD_KILL" "$@" $TEST_PID >> "$TS_OUTPUT" 2>> "$TS_ERRLOG"; then - echo "kill $@ did not work" >> "$TS_OUTPUT" + echo "kill $* did not work" >> "$TS_OUTPUT" all_ok=false fi wait $TEST_PID if [ $? -ne 1 ]; then - echo "wait $TEST_PID for $@ did not work" >> "$TS_OUTPUT" + echo "wait $TEST_PID for $* did not work" >> "$TS_OUTPUT" all_ok=false fi }