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:
parent
355f620653
commit
c4ba21bc77
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user