[Box Backup-commit] COMMIT r1002 - box/trunk/test/backupdiff
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Thu, 12 Oct 2006 23:21:32 +0100
Author: chris
Date: 2006-10-12 23:21:32 +0100 (Thu, 12 Oct 2006)
New Revision: 1002
Modified:
box/trunk/test/backupdiff/testbackupdiff.cpp
Log:
* Cosmetic fixes to comments
Modified: box/trunk/test/backupdiff/testbackupdiff.cpp
===================================================================
--- box/trunk/test/backupdiff/testbackupdiff.cpp 2006-10-12 22:20:57 UTC (rev 1001)
+++ box/trunk/test/backupdiff/testbackupdiff.cpp 2006-10-12 22:21:32 UTC (rev 1002)
@@ -486,7 +486,8 @@
}
#endif
- // Check that diffing against a file which isn't "complete" and referes another isn't allowed
+ // Check that diffing against a file which isn't "complete" and
+ // references another isn't allowed
{
FileStream blockindex("testfiles/f1.diff");
BackupStoreFile::MoveStreamPositionToBlockIndex(blockindex);
@@ -498,8 +499,10 @@
0, 0), BackupStoreException, CannotDiffAnIncompleteStoreFile);
}
- // Found a nasty case where files of lots of the same thing sock up lots of processor
- // time -- because of lots of matches found. Check this out!
+ // Found a nasty case where files of lots of the same thing
+ // suck up lots of processor time -- because of lots of matches
+ // found. Check this out!
+
make_file_of_zeros("testfiles/zero.0", 20*1024*1024);
make_file_of_zeros("testfiles/zero.1", 200*1024*1024);
// Generate a first encoded file