]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:script: Fix test_dfree_quota.sh
authorAndreas Schneider <asn@samba.org>
Thu, 22 Oct 2020 09:08:19 +0000 (11:08 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 23 Oct 2020 14:09:42 +0000 (14:09 +0000)
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 <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/script/tests/test_dfree_quota.sh

index e86d431180a36b841680fb35598c0c4c91f94526..a1403a8c4bab77538da4220e7b1d220d83c48136 100755 (executable)
@@ -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