From 3e213edb7f3bb13f74367cb207e3f450d11e0c4f Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 10 Sep 2002 22:19:15 +0000 Subject: 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 --- rdiff-backup/testing/rpathtest.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- cgit v1.2.1