Commit d7aeb5a9 authored by ben's avatar ben

Added check so directories with different sizes should compare similarly.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@194 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 5a61d4e5
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment