]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture: Fix shellcheck errors in test_gentest.sh
authorAndreas Schneider <asn@samba.org>
Mon, 13 Jun 2022 09:29:15 +0000 (11:29 +0200)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 22 Aug 2022 20:35:36 +0000 (20:35 +0000)
source4/torture/tests/test_gentest.sh:31:235: 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/torture/tests/test_gentest.sh

index 80a1661c11f367e0be6a1aad0d57ba04c9dc3588..ad88bd43083a5f9af889d6c694b1ad9d366bf2c8 100755 (executable)
@@ -28,7 +28,7 @@ all_info.out.fname
 internal_information.out.file_id
 EOF
 
-testit "gentest" $VALGRIND $gentest //$SERVER/test1 //$SERVER/test2 --seed=1 --seedsfile=$PREFIX/gentest_seeds.dat --num-ops=100 --ignore=$PREFIX/gentest.ignore -W "$DOMAIN" --user1="$USERNAME%$PASSWORD" --user2="$USERNAME%$PASSWORD" $@ || failed=$(expr $failed + 1)
+testit "gentest" $VALGRIND $gentest //$SERVER/test1 //$SERVER/test2 --seed=1 --seedsfile=$PREFIX/gentest_seeds.dat --num-ops=100 --ignore=$PREFIX/gentest.ignore -W "$DOMAIN" --user1="$USERNAME%$PASSWORD" --user2="$USERNAME%$PASSWORD" "$@" || failed=$(expr $failed + 1)
 
 rm -f $PREFIX/gentest.ignore