summaryrefslogtreecommitdiff
path: root/rdiff-backup/testing/regressiontest.py
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-03-25 07:52:04 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-03-25 07:52:04 +0000
commit0c361a33a9a4b009b3ada9dd88ccef43e299ed65 (patch)
treee9bc67f23ab82e01644298f614f3a1b74557739c /rdiff-backup/testing/regressiontest.py
parenta2da3ed31d63e53e80aaf84e1e8b90a53f44713d (diff)
downloadrdiff-backup-0c361a33a9a4b009b3ada9dd88ccef43e299ed65.tar.gz
Added testcases for gzipped increments, fixed some increment test cases.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@24 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/regressiontest.py')
-rw-r--r--rdiff-backup/testing/regressiontest.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/rdiff-backup/testing/regressiontest.py b/rdiff-backup/testing/regressiontest.py
index 354cbbb..ea90230 100644
--- a/rdiff-backup/testing/regressiontest.py
+++ b/rdiff-backup/testing/regressiontest.py
@@ -131,6 +131,15 @@ class PathSetter(unittest.TestCase):
class IncrementTest1(unittest.TestCase):
dirlist = ["testfiles/increment1", "testfiles/increment2",
"testfiles/increment3", "testfiles/increment4"]
+ gzip_dirlist = ["testfiles/gzips/inc1", "testfiles/gzips/inc2"]
+
+ def testLocalGzipinc(self):
+ """Local test small archive which exercises gzip options"""
+ BackupRestoreSeries(1, 1, self.gzip_dirlist)
+
+ def testRemoteBothGzipinc(self):
+ """Remote test small archive which exercises gzip options"""
+ BackupRestoreSeries(None, None, self.gzip_dirlist)
def testLocalinc(self):
"""Test self.incrementing, and then restoring, local"""