Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a problem with duplicate dirs being unduplicated in the list:
[rsync/rsync.git]
/
testsuite
/
acls.test
diff --git
a/testsuite/acls.test
b/testsuite/acls.test
index
af56007
..
9d9288f
100644
(file)
--- a/
testsuite/acls.test
+++ b/
testsuite/acls.test
@@
-9,10
+9,6
@@
$RSYNC --version | grep ", ACLs" >/dev/null || test_skipped "Rsync is configured without ACL support"
$RSYNC --version | grep ", ACLs" >/dev/null || test_skipped "Rsync is configured without ACL support"
-case "$RSYNC" in
-*protocol=29*) test_skipped "ACL support requires protocol 30" ;;
-esac
-
case "$setfacl_nodef" in
true) test_skipped "I don't know how to use your setfacl command" ;;
esac
case "$setfacl_nodef" in
true) test_skipped "I don't know how to use your setfacl command" ;;
esac
@@
-24,12
+20,19
@@
echo else >"$fromdir/file2"
files='foo file1 file2'
setfacl -m u:0:7 "$fromdir/foo" || test_skipped "Your filesystem has ACLs disabled"
files='foo file1 file2'
setfacl -m u:0:7 "$fromdir/foo" || test_skipped "Your filesystem has ACLs disabled"
+setfacl -m g:1:5 "$fromdir/foo"
+setfacl -m g:2:1 "$fromdir/foo"
+setfacl -m g:0:7 "$fromdir/foo"
+setfacl -m u:2:1 "$fromdir/foo"
+setfacl -m u:1:5 "$fromdir/foo"
+
setfacl -m u:0:5 "$fromdir/file1"
setfacl -m u:0:5 "$fromdir/file1"
-setfacl -m u:0:5 "$fromdir/file2"
-
$RSYNC -avvA "$fromdir/" "$todir/
"
+
setfacl -m u:0:5 "$fromdir/file2
"
cd "$fromdir"
cd "$fromdir"
+$RSYNC -avvA $files "$todir/"
+
getfacl $files >"$scratchdir/acls.txt"
cd "$todir"
getfacl $files >"$scratchdir/acls.txt"
cd "$todir"