summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-07-18 09:41:14 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-07-18 09:41:14 +0000
commite9a90e94befd8aaf5185be59d13d946d8b121936 (patch)
tree815bcb103a91d825a42a8cc4869a4b45c43e78d7 /rdiff-backup/testing
parent7d75e73ffa5310b7ed74b81807ca32c652f0b866 (diff)
downloadrdiff-backup-e9a90e94befd8aaf5185be59d13d946d8b121936.tar.gz
Added detection of directory increment permission limitation
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@344 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing')
-rw-r--r--rdiff-backup/testing/fs_abilitiestest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rdiff-backup/testing/fs_abilitiestest.py b/rdiff-backup/testing/fs_abilitiestest.py
index c40b3c0..c16ab46 100644
--- a/rdiff-backup/testing/fs_abilitiestest.py
+++ b/rdiff-backup/testing/fs_abilitiestest.py
@@ -17,6 +17,7 @@ class FSAbilitiesTest(unittest.TestCase):
chars_to_quote = ""
ownership = (os.getuid() == 0)
hardlinks = fsync_dirs = 1
+ dir_inc_perms = 1
# Describes MS-Windows style file system
#dir_to_test = "/mnt/fat"
@@ -24,6 +25,7 @@ class FSAbilitiesTest(unittest.TestCase):
#chars_to_quote = "^a-z0-9_ -"
#ownership = hardlinks = 0
#fsync_dirs = 1
+ #dir_inc_perms = XXX
def testReadOnly(self):
"""Test basic querying read only"""
@@ -52,6 +54,7 @@ class FSAbilitiesTest(unittest.TestCase):
assert fsa.ownership == self.ownership, fsa.ownership
assert fsa.hardlinks == self.hardlinks, fsa.hardlinks
assert fsa.fsync_dirs == self.fsync_dirs, fsa.fsync_dirs
+ assert fsa.dir_inc_perms == self.dir_inc_perms, fsa.dir_inc_perms
ctq_rp = new_dir.append("chars_to_quote")
assert ctq_rp.lstat()