diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2004-02-01 04:18:33 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2004-02-01 04:18:33 +0000 |
commit | cb4b57348bb856033ff6d169d084121984fd477c (patch) | |
tree | a1b5818fc8dd5887a90b04e64a442ffa4c9e5b52 /rdiff-backup/testing | |
parent | b810c5c4c48d30e46ca5f2a4238e1b327e847af5 (diff) | |
download | rdiff-backup-cb4b57348bb856033ff6d169d084121984fd477c.tar.gz |
Fixed a few supplementary modes (e.g. --remove-older-than) w quoting
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@519 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing')
-rw-r--r-- | rdiff-backup/testing/finaltest.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rdiff-backup/testing/finaltest.py b/rdiff-backup/testing/finaltest.py index ffe175c..e0f1988 100644 --- a/rdiff-backup/testing/finaltest.py +++ b/rdiff-backup/testing/finaltest.py @@ -419,6 +419,14 @@ class FinalMisc(PathSetter): for inc in self.get_all_increments(rbdir): assert inc.getinctime() >= 30000 + def testRemoveOlderThanQuoting(self): + """Test --remove-older-than when dest directory is quoted""" + Myrm("testfiles/output") + self.set_connections(None, None, None, None) + self.exec_rb_extra_args(None, "--override-chars-to-quote '^a-z0-9_ -.'", + "testfiles/increment1", "testfiles/output") + self.exec_rb_extra_args(None, "--remove-older-than now", "testfiles/output") + def testCompare(self): """Test --compare and --compare-older-than modes""" Myrm("testfiles/output") |