diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-09-10 22:19:15 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-09-10 22:19:15 +0000 |
commit | 3e213edb7f3bb13f74367cb207e3f450d11e0c4f (patch) | |
tree | 0132b3b809d84bb958f82df74c4d1695dd0b250a /rdiff-backup/testing | |
parent | da17a03c192fb2668a32ca222862a38d9b934dd5 (diff) | |
download | rdiff-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
Diffstat (limited to 'rdiff-backup/testing')
-rw-r--r-- | rdiff-backup/testing/rpathtest.py | 2 |
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): |