]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:script: Fix shellcheck errors in test_dfree_command.sh
authorAndreas Schneider <asn@samba.org>
Thu, 24 Feb 2022 10:39:24 +0000 (11:39 +0100)
committerPavel Filipensky <pfilipensky@samba.org>
Mon, 22 Aug 2022 14:20:36 +0000 (14:20 +0000)
source3/script/tests/test_dfree_command.sh:38: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_dfree_command.sh

index 39f516d30bfbcc353cc0c04b2935ace1cef93ab6..423d6276a09912af3e665a564b40cce2b9fbcc3b 100755 (executable)
@@ -35,7 +35,7 @@ test_smbclient_dfree()
        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
                received=$(echo "$output" | awk '/blocks of size/ {print $1, $5, $6}')