From: Andreas Schneider Date: Thu, 22 Oct 2020 09:08:19 +0000 (+0200) Subject: s3:script: Fix test_dfree_quota.sh X-Git-Tag: talloc-2.3.2~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bc9f8ce66ef02d7d77cfd31dc2a72102d546d75;p=thirdparty%2Fsamba.git s3:script: Fix test_dfree_quota.sh source3/script/tests/test_dfree_quota.sh: line 200: [: missing `]' BUG: https://bugzilla.samba.org/show_bug.cgi?id=14550 Signed-off-by: Andreas Schneider Reviewed-by: Alexander Bokovoy --- diff --git a/source3/script/tests/test_dfree_quota.sh b/source3/script/tests/test_dfree_quota.sh index e86d431180a..a1403a8c4ba 100755 --- a/source3/script/tests/test_dfree_quota.sh +++ b/source3/script/tests/test_dfree_quota.sh @@ -197,7 +197,7 @@ test_smbcquotas() { return $status } -if [ $protocol != "SMB3" -a $protocol != "NT1"]; then +if [ $protocol != "SMB3" ] && [ $protocol != "NT1" ]; then echo "unsupported protocol $protocol" | subunit_fail_test "Test dfree quota" failed=`expr $failed + 1` fi