From: Andreas Schneider Date: Thu, 24 Feb 2022 10:39:24 +0000 (+0100) Subject: s3:script: Fix shellcheck errors in test_dfree_command.sh X-Git-Tag: talloc-2.4.0~1380 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c23b829a12417fa859205b8a6f482941aad70ec;p=thirdparty%2Fsamba.git s3:script: Fix shellcheck errors in test_dfree_command.sh 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 Reviewed-by: Pavel Filipenský --- diff --git a/source3/script/tests/test_dfree_command.sh b/source3/script/tests/test_dfree_command.sh index 39f516d30bf..423d6276a09 100755 --- a/source3/script/tests/test_dfree_command.sh +++ b/source3/script/tests/test_dfree_command.sh @@ -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}')