]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:utils: Fix shellcheck errors in test_samba_tool.sh
authorAndreas Schneider <asn@samba.org>
Mon, 13 Jun 2022 13:27:58 +0000 (15:27 +0200)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 22 Aug 2022 20:35:36 +0000 (20:35 +0000)
source4/utils/tests/test_samba_tool.sh:38:110: 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>
source4/utils/tests/test_samba_tool.sh

index d45a2333ed12e5588af5b409e16a04c227da6530..3b1507e201a645245fe229c30d65e0d38f7da318 100755 (executable)
@@ -35,7 +35,7 @@ testit "Test login with --machine-pass without kerberos" $VALGRIND $smbclient -c
 
 testit "Test login with --machine-pass and kerberos" $VALGRIND $smbclient -c 'ls' $CONFIGURATION //$SERVER/tmp --machine-pass -k
 
-testit "time" $VALGRIND $PYTHON $samba_tool time $SERVER $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@
+testit "time" $VALGRIND $PYTHON $samba_tool time $SERVER $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" "$@"
 
 testit "domain level.show" $VALGRIND $PYTHON $samba_tool domain level show