[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-commits] Changes to rdiff-backup/testing/eas_aclstest.py
From: |
Ben Escoto |
Subject: |
[Rdiff-backup-commits] Changes to rdiff-backup/testing/eas_aclstest.py |
Date: |
Wed, 10 Aug 2005 01:25:44 -0400 |
Index: rdiff-backup/testing/eas_aclstest.py
diff -u rdiff-backup/testing/eas_aclstest.py:1.8
rdiff-backup/testing/eas_aclstest.py:1.9
--- rdiff-backup/testing/eas_aclstest.py:1.8 Sun Jun 19 20:05:13 2005
+++ rdiff-backup/testing/eas_aclstest.py Wed Aug 10 05:25:43 2005
@@ -245,6 +245,7 @@
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 @@
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
- [Rdiff-backup-commits] Changes to rdiff-backup/testing/eas_aclstest.py,
Ben Escoto <=