From: Andreas Schneider Date: Mon, 13 Jun 2022 13:33:55 +0000 (+0200) Subject: testprogs: Fix shellcheck errors in test_chgdcpass.sh X-Git-Tag: talloc-2.4.0~1356 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5dd28adeea9c495bb6572a71852403667b4d4818;p=thirdparty%2Fsamba.git testprogs: Fix shellcheck errors in test_chgdcpass.sh testprogs/blackbox/test_chgdcpass.sh:48:79: error: Double quote array expansions to avoid re-splitting elements. [SC2068] testprogs/blackbox/test_chgdcpass.sh:49:74: error: Double quote array expansions to avoid re-splitting elements. [SC2068] Signed-off-by: Andreas Schneider Reviewed-by: Pavel Filipenský --- diff --git a/testprogs/blackbox/test_chgdcpass.sh b/testprogs/blackbox/test_chgdcpass.sh index 8b0ef45673f..e20c443d00e 100755 --- a/testprogs/blackbox/test_chgdcpass.sh +++ b/testprogs/blackbox/test_chgdcpass.sh @@ -45,8 +45,8 @@ test_drs() shift shift echo "test: $name" - echo $VALGRIND $PYTHON $samba4bindir/samba-tool drs $function $SERVER -k yes $@ - $VALGRIND $PYTHON $samba4bindir/samba-tool drs $function $SERVER -k yes $@ + echo $VALGRIND $PYTHON $samba4bindir/samba-tool drs $function $SERVER -k yes "$@" + $VALGRIND $PYTHON $samba4bindir/samba-tool drs $function $SERVER -k yes "$@" status=$? if [ x$status = x0 ]; then echo "success: $name"