test_sharesec: Fix check for deleted ACL
authorChristof Schmitt <cs@samba.org>
Thu, 4 Feb 2016 23:39:59 +0000 (16:39 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 19 Feb 2016 23:46:30 +0000 (00:46 +0100)
Remove semicolon; without this change the test could not detect a
failure of removing the ACL.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/script/tests/test_sharesec.sh

index 59dbe8fdc7a047d936f8b7f00a94df32f35c5ac4..8165a58ee68611a0d57ebd32731e23906e55e6ea 100755 (executable)
@@ -94,7 +94,7 @@ testit "Query ACL with three entries after removal" $CMD --view || \
 COUNT=$($CMD --view | grep ACL: | sed -e 's/^ACL://' | wc -l)
 testit "Verify ACL count after removal" test $COUNT -eq 3 || \
        failed=$(expr $failed + 1)
-ACL="$($CMD --view | grep S-1-5-32-546')"
+ACL="$($CMD --view | grep S-1-5-32-546)"
 testit "Verify removal" test -e "$ACL" || failed=$(expr $failed + 1)
 
 testit "Set ACL as hex value" $CMD --add S-1-5-32-547:0x1/0x0/0x001F01FF || \