]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:script: Fix shellcheck errors in test_preserve_case.sh
authorAndreas Schneider <asn@samba.org>
Fri, 4 Mar 2022 11:03:19 +0000 (12:03 +0100)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 22 Aug 2022 14:20:36 +0000 (14:20 +0000)
source3/script/tests/test_preserve_case.sh:42:59: 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>
source3/script/tests/test_preserve_case.sh

index bafc50f2d8bc0d8c6e4007fec1d276bd1b7a54f7..c9ca79ab4d533fbb508e93c2fb3150a8939ff43d 100755 (executable)
@@ -39,7 +39,7 @@ test_smbclient()
        shift
        shift
        subunit_start_test "$name"
-       output=$($VALGRIND $smbclient //$SERVER/$share -c "$cmd" $@ 2>&1)
+       output=$($VALGRIND $smbclient //$SERVER/$share -c "$cmd" "$@" 2>&1)
        status=$?
        if [ x$status = x0 ]; then
                subunit_pass_test "$name"