diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2004-01-28 06:54:53 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2004-01-28 06:54:53 +0000 |
commit | 06d65d2d192b904e81fa17828c3b8b7dd273bb02 (patch) | |
tree | bb560713170517416384be01aedcfc57359b1e6e /rdiff-backup/testing | |
parent | a41f18f654feaea3dfab6955df177e9956823ea2 (diff) | |
download | rdiff-backup-06d65d2d192b904e81fa17828c3b8b7dd273bb02.tar.gz |
Checked in John Goerzen's carbonfile patch
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@508 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing')
-rw-r--r-- | rdiff-backup/testing/fs_abilitiestest.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rdiff-backup/testing/fs_abilitiestest.py b/rdiff-backup/testing/fs_abilitiestest.py index 93f17c4..61e80c1 100644 --- a/rdiff-backup/testing/fs_abilitiestest.py +++ b/rdiff-backup/testing/fs_abilitiestest.py @@ -19,8 +19,7 @@ class FSAbilitiesTest(unittest.TestCase): hardlinks = fsync_dirs = 1 dir_inc_perms = 1 resource_forks = 0 - - + carbonfile = 0 # Describes MS-Windows style file system #dir_to_test = "/mnt/fat" @@ -30,6 +29,7 @@ class FSAbilitiesTest(unittest.TestCase): #fsync_dirs = 1 #dir_inc_perms = 0 #resource_forks = 0 + #carbonfile = 0 def testReadOnly(self): """Test basic querying read only""" @@ -40,6 +40,7 @@ class FSAbilitiesTest(unittest.TestCase): assert fsa.eas == self.eas, fsa.eas assert fsa.acls == self.acls, fsa.acls assert fsa.resource_forks == self.resource_forks, fsa.resource_forks + assert fsa.carbonfile == self.carbonfile, fsa.carbonfile def testReadWrite(self): """Test basic querying read/write""" @@ -61,7 +62,8 @@ class FSAbilitiesTest(unittest.TestCase): assert fsa.fsync_dirs == self.fsync_dirs, fsa.fsync_dirs assert fsa.dir_inc_perms == self.dir_inc_perms, fsa.dir_inc_perms assert fsa.resource_forks == self.resource_forks, fsa.resource_forks - + assert fsa.carbonfile == self.carbonfile, fsa.carbonfile + ctq_rp = new_dir.append("chars_to_quote") assert ctq_rp.lstat() fp = ctq_rp.open('rb') |