diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-08-10 00:43:20 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-08-10 00:43:20 +0000 |
commit | d8a9ff981f1ce8590c5b1c5376cad0e3e07abacf (patch) | |
tree | da431cf2485ba177b1a18473be2e34eaf315d1ec /rdiff-backup/testing/rpathtest.py | |
parent | 386fc7d4c764912447906324b77d83223052ac9e (diff) | |
download | rdiff-backup-d8a9ff981f1ce8590c5b1c5376cad0e3e07abacf.tar.gz |
Added tests for --windows-mode and high bit permissions.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@181 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/rpathtest.py')
-rw-r--r-- | rdiff-backup/testing/rpathtest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rdiff-backup/testing/rpathtest.py b/rdiff-backup/testing/rpathtest.py index 46facf2..e96a4fb 100644 --- a/rdiff-backup/testing/rpathtest.py +++ b/rdiff-backup/testing/rpathtest.py @@ -67,6 +67,11 @@ class CheckPerms(RPathTest): assert self.rp_prefix.append('executable').getperms() == 0755 assert self.rp_prefix.append('executable2').getperms() == 0700 + def testhighbits(self): + """Test reporting of highbit permissions""" + p = RPath(self.lc, "testfiles/rpath2/foobar").getperms() + assert p == 04100, p + def testOrdinaryReport(self): """Ordinary file permissions...""" assert self.rp_prefix.append("regular_file").getperms() == 0644 |