diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2004-01-31 21:04:32 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2004-01-31 21:04:32 +0000 |
commit | 0958a91ccf875897146d77b4bdcf8b51bb59bf70 (patch) | |
tree | afd4bee5d5518db0068f9755a5db268be67c304a /rdiff-backup/testing | |
parent | 09eb29b0b50deef8bba24dcb0b534b59e24724fb (diff) | |
download | rdiff-backup-0958a91ccf875897146d77b4bdcf8b51bb59bf70.tar.gz |
Fix bug in --restrict path normalization
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@515 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing')
-rw-r--r-- | rdiff-backup/testing/securitytest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rdiff-backup/testing/securitytest.py b/rdiff-backup/testing/securitytest.py index c9ae86b..e816b97 100644 --- a/rdiff-backup/testing/securitytest.py +++ b/rdiff-backup/testing/securitytest.py @@ -86,9 +86,10 @@ class SecurityTest(unittest.TestCase): 'testfiles/output', 1, '--restrict testfiles/output', current_time = 10000) + # Note the backslash below -- test for bug in path normalization self.secure_rdiff_backup('testfiles/various_file_types', 'testfiles/output', 1, - '--restrict testfiles/output') + '--restrict testfiles/output/') Myrm("testfiles/restore_out") self.secure_rdiff_backup('testfiles/output', |