diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-09-15 22:31:29 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-09-15 22:31:29 +0000 |
commit | 2e981b24cb15e7edecdbeee15a01c866c65178b3 (patch) | |
tree | 9d078b89f5e96a2e5a51abe15450c56e773ea6e7 /rdiff-backup/testing | |
parent | a6b19011e1e1a6dcfd2c0b378f401b3d543374f8 (diff) | |
download | rdiff-backup-2e981b24cb15e7edecdbeee15a01c866c65178b3.tar.gz |
Check and fix for bug 14545
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@633 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing')
-rw-r--r-- | rdiff-backup/testing/securitytest.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rdiff-backup/testing/securitytest.py b/rdiff-backup/testing/securitytest.py index cd83635..4c566dc 100644 --- a/rdiff-backup/testing/securitytest.py +++ b/rdiff-backup/testing/securitytest.py @@ -200,6 +200,13 @@ class SecurityTest(unittest.TestCase): output = rpath.RPath(Globals.local_connection, 'testfiles/output') assert not output.lstat() + def test_quoting_bug(self): + """Test for bug 14545 --- quoting causes bad violation""" + Myrm('testfiles/output') + self.secure_rdiff_backup('testfiles/various_file_types', + 'testfiles/output', 1, '', + extra_args = '--override-chars-to-quote e') + if __name__ == "__main__": unittest.main() |