From c4ba21bc770e17139edf052dc55fd9dd9485b134 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 13 Jun 2022 16:08:40 +0200 Subject: [PATCH] testprogs: Fix shellcheck errors in test_wintest.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit testprogs/blackbox/test_wintest.sh:15:97: error: Double quote array expansions to avoid re-splitting elements. [SC2068] testprogs/blackbox/test_wintest.sh:40:31: error: Double quote array expansions to avoid re-splitting elements. [SC2068] Signed-off-by: Andreas Schneider Reviewed-by: Pavel Filipenský --- testprogs/blackbox/test_wintest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testprogs/blackbox/test_wintest.sh b/testprogs/blackbox/test_wintest.sh index 23f7385cfb7..1015a1ef299 100755 --- a/testprogs/blackbox/test_wintest.sh +++ b/testprogs/blackbox/test_wintest.sh @@ -12,7 +12,7 @@ testwithconf() . $WINTEST_STARTUP fi - testit "smbtorture" $smbtorture //$SERVER/$SHARE RAW-OPEN -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@ || failed=$(expr $failed + 1) + testit "smbtorture" $smbtorture //$SERVER/$SHARE RAW-OPEN -W "$DOMAIN" -U"$USERNAME%$PASSWORD" "$@" || failed=$(expr $failed + 1) if [ -n "$WINTEST_SHUTDOWN" ]; then . $WINTEST_SHUTDOWN @@ -37,7 +37,7 @@ smbtorture=$samba4bindir/smbtorture . $(dirname $0)/subunit.sh for wintest_conf in $WINTEST_CONF_DIR/*.conf; do - testwithconf "$wintest_conf" $@ + testwithconf "$wintest_conf" "$@" done exit $failed -- 2.47.3