summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-09-10 22:19:15 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-09-10 22:19:15 +0000
commit3e213edb7f3bb13f74367cb207e3f450d11e0c4f (patch)
tree0132b3b809d84bb958f82df74c4d1695dd0b250a
parentda17a03c192fb2668a32ca222862a38d9b934dd5 (diff)
downloadrdiff-backup-3e213edb7f3bb13f74367cb207e3f450d11e0c4f.tar.gz
Added check so directories with different sizes should compare similarly.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@194 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/testing/rpathtest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rdiff-backup/testing/rpathtest.py b/rdiff-backup/testing/rpathtest.py
index 92e3355..6924892 100644
--- a/rdiff-backup/testing/rpathtest.py
+++ b/rdiff-backup/testing/rpathtest.py
@@ -304,6 +304,8 @@ class FileCopying(RPathTest):
even if they are of different sizes"""
smalldir = RPath(Globals.local_connection, "testfiles/dircomptest/1")
bigdir = RPath(Globals.local_connection, "testfiles/dircomptest/2")
+ # Can guarantee below by adding files to bigdir
+ assert bigdir.getsize() > smalldir.getsize()
assert smalldir == bigdir
def testCopy(self):