1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

testprogs: Fix shellcheck errors in test_wintest.sh

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 <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
This commit is contained in:
Andreas Schneider 2022-06-13 16:08:40 +02:00 committed by Pavel Filipensky
parent 355f620653
commit c4ba21bc77

View File

@ -12,7 +12,7 @@ testwithconf()
. $WINTEST_STARTUP . $WINTEST_STARTUP
fi 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 if [ -n "$WINTEST_SHUTDOWN" ]; then
. $WINTEST_SHUTDOWN . $WINTEST_SHUTDOWN
@ -37,7 +37,7 @@ smbtorture=$samba4bindir/smbtorture
. $(dirname $0)/subunit.sh . $(dirname $0)/subunit.sh
for wintest_conf in $WINTEST_CONF_DIR/*.conf; do for wintest_conf in $WINTEST_CONF_DIR/*.conf; do
testwithconf "$wintest_conf" $@ testwithconf "$wintest_conf" "$@"
done done
exit $failed exit $failed