summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2004-01-31 21:04:32 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2004-01-31 21:04:32 +0000
commit0958a91ccf875897146d77b4bdcf8b51bb59bf70 (patch)
treeafd4bee5d5518db0068f9755a5db268be67c304a /rdiff-backup/testing
parent09eb29b0b50deef8bba24dcb0b534b59e24724fb (diff)
downloadrdiff-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.py3
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',