From: Andreas Schneider Date: Mon, 13 Jun 2022 13:25:58 +0000 (+0200) Subject: s4:tortue: Fix shellcheck errors in test_locktest.sh X-Git-Tag: talloc-2.4.0~1360 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0618bd8a6c9477ea17defddde42cd43a0a27a422;p=thirdparty%2Fsamba.git s4:tortue: Fix shellcheck errors in test_locktest.sh source4/torture/tests/test_locktest.sh:26:137: error: Double quote array expansions to avoid re-splitting elements. [SC2068] Signed-off-by: Andreas Schneider Reviewed-by: Pavel Filipenský --- diff --git a/source4/torture/tests/test_locktest.sh b/source4/torture/tests/test_locktest.sh index d55935e3fb9..2342d7af593 100755 --- a/source4/torture/tests/test_locktest.sh +++ b/source4/torture/tests/test_locktest.sh @@ -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