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

index d55935e3fb96ca46205dcf7fc044741acbc41258..2342d7af5932ff1a792209dabe3122f6ea719391 100755 (executable)
@@ -23,6 +23,6 @@ locktest="$samba4bindir/locktest"
 
 . $(dirname $0)/../../../testprogs/blackbox/subunit.sh
 
-testit "locktest" $VALGRIND $locktest //$SERVER/test1 //$SERVER/test2 --num-ops=100 -W "$DOMAIN" --user1="$DOMAIN\\$USERNAME%$PASSWORD" $@ || failed=$(expr $failed + 1)
+testit "locktest" $VALGRIND $locktest //$SERVER/test1 //$SERVER/test2 --num-ops=100 -W "$DOMAIN" --user1="$DOMAIN\\$USERNAME%$PASSWORD" "$@" || failed=$(expr $failed + 1)
 
 exit $failed