diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-29 07:10:00 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-29 07:10:00 +0000 |
commit | 316b6ac203137fc5740d1181c941aab1178eeaae (patch) | |
tree | 807cecf179d75705f413b33d9bcdcf5572005582 /rdiff-backup/testing/finaltest.py | |
parent | 85792f3b028aebac6e2681a0ce5ab60f9d91f1ed (diff) | |
download | rdiff-backup-316b6ac203137fc5740d1181c941aab1178eeaae.tar.gz |
Reexamined robust writing and statistics, passes test
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@111 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/finaltest.py')
-rw-r--r-- | rdiff-backup/testing/finaltest.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rdiff-backup/testing/finaltest.py b/rdiff-backup/testing/finaltest.py index bf293dc..96c9728 100644 --- a/rdiff-backup/testing/finaltest.py +++ b/rdiff-backup/testing/finaltest.py @@ -149,8 +149,9 @@ class PathSetter(unittest.TestCase): # Make sure too many increment files not created assert len(self.getinc_paths("nochange.", "testfiles/output/rdiff-backup-data/increments")) == 0 - assert len(self.getinc_paths("", - "testfiles/output/rdiff-backup-data/increments/nochange")) == 1 + nochange_incs = len(self.getinc_paths("", + "testfiles/output/rdiff-backup-data/increments/nochange")) + assert nochange_incs == 1 or nochange_incs == 0, nochange_incs def getinc_paths(self, basename, directory): """Return increment.______.dir paths""" |