diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-12-12 01:32:50 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-12-12 01:32:50 +0000 |
commit | 3ac783ccd3d44979266ed81b0aea1d917465bdae (patch) | |
tree | b93137c22d0979815e42be09160e75062b3a4ac7 /rdiff-backup/testing/eas_aclstest.py | |
parent | 3c184d591ffbcac68c035fea01d914b5aa27b9b2 (diff) | |
download | rdiff-backup-3ac783ccd3d44979266ed81b0aea1d917465bdae.tar.gz |
False negative ACL compare fix
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-0@703 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/eas_aclstest.py')
-rw-r--r-- | rdiff-backup/testing/eas_aclstest.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rdiff-backup/testing/eas_aclstest.py b/rdiff-backup/testing/eas_aclstest.py index 4d6535f..b502a19 100644 --- a/rdiff-backup/testing/eas_aclstest.py +++ b/rdiff-backup/testing/eas_aclstest.py @@ -495,6 +495,18 @@ other::---""") else: assert 0, "Above should have exited with fatal error" Globals.never_drop_acls = None + def test_nochange(self): + """Make sure files with ACLs not unnecessarily flagged changed""" + self.make_temp() + self.make_backup_dirs() + rdiff_backup(1, 1, self.acl_testdir1.path, tempdir.path, + current_time = 10000) + rdiff_backup(1, 1, self.acl_testdir1.path, tempdir.path, + current_time = 20000) + incdir = tempdir.append('rdiff-backup-data').append('increments') + assert incdir.isdir(), incdir + assert not incdir.listdir(), incdir.listdir() + class CombinedTest(unittest.TestCase): """Test backing up and restoring directories with both EAs and ACLs""" |