From: Andreas Schneider Date: Fri, 4 Mar 2022 11:03:19 +0000 (+0100) Subject: s3:script: Fix shellcheck errors in test_preserve_case.sh X-Git-Tag: talloc-2.4.0~1374 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4abfa262b230fcb9f9cf107e37d3c84ace0d353a;p=thirdparty%2Fsamba.git s3:script: Fix shellcheck errors in test_preserve_case.sh 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 Reviewed-by: Pavel Filipenský --- diff --git a/source3/script/tests/test_preserve_case.sh b/source3/script/tests/test_preserve_case.sh index bafc50f2d8b..c9ca79ab4d5 100755 --- a/source3/script/tests/test_preserve_case.sh +++ b/source3/script/tests/test_preserve_case.sh @@ -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"