summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing/finaltest.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-10-05 08:36:13 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-10-05 08:36:13 +0000
commitd618654b0c001294f122462adb73de8c13419882 (patch)
tree080efe0fb0e3d8b1379cafe385f5583f37c383c2 /rdiff-backup/testing/finaltest.py
parent67fda1bc789db7fac2c69be8b8cb8595ffd7535c (diff)
downloadrdiff-backup-d618654b0c001294f122462adb73de8c13419882.tar.gz
Added --list-increment-sizes code from 0.13.x
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-12@466 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/finaltest.py')
-rw-r--r--rdiff-backup/testing/finaltest.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/rdiff-backup/testing/finaltest.py b/rdiff-backup/testing/finaltest.py
index 2c6c13a..8285b36 100644
--- a/rdiff-backup/testing/finaltest.py
+++ b/rdiff-backup/testing/finaltest.py
@@ -503,6 +503,18 @@ class FinalMisc(PathSetter):
self.exec_rb_extra_args(None, '--list-at-time 20000',
'testfiles/restoretest3')
+ def testListIncrementSizesLocal(self):
+ """Test --list-increment-sizes switch. Uses restoretest3"""
+ self.set_connections(None, None, None, None)
+ self.exec_rb_extra_args(None, "--list-increment-sizes",
+ "testfiles/restoretest3")
+
+ def testListIncrementsRemote(self):
+ """Test --list-increment-sizes mode remotely. Uses restoretest3"""
+ self.set_connections('test1', '../', None, None)
+ self.exec_rb_extra_args(None, "--list-increment-sizes",
+ "testfiles/restoretest3")
+
def get_all_increments(self, rp):
"""Iterate all increments at or below given directory"""
assert rp.isdir()