summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-08-10 05:25:43 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-08-10 05:25:43 +0000
commit4918807565a39f78b1a37159c20b3b472d73522e (patch)
treeba52e37a2a9a23bb1d97334df47c555d81d6eb26 /rdiff-backup/testing
parentf0ec078e6acbe86342ed6066ae886ceac3c5d855 (diff)
downloadrdiff-backup-4918807565a39f78b1a37159c20b3b472d73522e.tar.gz
Fix for bug #13576, destination system should not need posix1e
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@604 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing')
-rw-r--r--rdiff-backup/testing/eas_aclstest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/rdiff-backup/testing/eas_aclstest.py b/rdiff-backup/testing/eas_aclstest.py
index 2d6a2b6..a595cfe 100644
--- a/rdiff-backup/testing/eas_aclstest.py
+++ b/rdiff-backup/testing/eas_aclstest.py
@@ -245,6 +245,7 @@ other::---""")
new_acl = AccessControlLists(())
tempdir.chmod(0700)
new_acl.read_from_rp(tempdir)
+ print "@", new_acl
assert new_acl.is_basic(), str(new_acl)
assert not new_acl == self.sample_acl
assert new_acl != self.sample_acl
@@ -449,8 +450,8 @@ other::---""")
def get_perms_of_user(acl, user):
"""Return the permissions of ACL_USER in acl, or None"""
- for type, owner_pair, perms in acl.entry_list:
- if type == posix1e.ACL_USER and owner_pair[1] == user:
+ for typechar, owner_pair, perms in acl.entry_list:
+ if typechar == "u" and owner_pair[1] == user:
return perms
return None