diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-07-22 09:07:43 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-07-22 09:07:43 +0000 |
commit | 3617a1f5be2c8c90d2e3c98a642279c58981c3d7 (patch) | |
tree | 021f63aa57009685d9c28b21841f89c6c505cb9d /rdiff-backup/testing/rdifftest.py | |
parent | bd7cbc611212f42202889e33e1672b25852efa24 (diff) | |
download | rdiff-backup-3617a1f5be2c8c90d2e3c98a642279c58981c3d7.tar.gz |
Now choose blocksize based on size of file
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@353 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/rdifftest.py')
-rw-r--r-- | rdiff-backup/testing/rdifftest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/testing/rdifftest.py b/rdiff-backup/testing/rdifftest.py index 6079f1a..d5bde4c 100644 --- a/rdiff-backup/testing/rdifftest.py +++ b/rdiff-backup/testing/rdifftest.py @@ -2,7 +2,7 @@ import unittest, random from commontest import * from rdiff_backup import Globals, Rdiff, selection, log, rpath -Log.setverbosity(6) +Log.setverbosity(7) def MakeRandomFile(path): """Writes a random file of length between 10000 and 100000""" @@ -28,7 +28,7 @@ class RdiffTest(unittest.TestCase): sig = rpath.RPath(self.lc, "testfiles/various_file_types/regular_file.sig") sigfp = sig.open("r") - rfsig = Rdiff.get_signature(RPath(self.lc, "testfiles/various_file_types/regular_file")) + rfsig = Rdiff.get_signature(RPath(self.lc, "testfiles/various_file_types/regular_file"), 2048) assert rpath.cmpfileobj(sigfp, rfsig) sigfp.close() rfsig.close() |