mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
test_sharesec: Fix check for deleted ACL
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>
This commit is contained in:
parent
2272c9723d
commit
66f5d0902d
@ -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 || \
|
||||
|
Loading…
Reference in New Issue
Block a user