[Box Backup-dev] COMMIT r221 - box/trunk/test/backupdiff

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Tue, 13 Dec 2005 01:57:08 +0000 (GMT)


Author: chromi
Date: 2005-12-13 01:57:07 +0000 (Tue, 13 Dec 2005)
New Revision: 221

Modified:
   box/trunk/test/backupdiff/testbackupdiff.cpp
Log:
Refined BackupDiff test to delete the 220MB in temporary test files 
after use.  Should cause much less strain on everyone's disk space.



Modified: box/trunk/test/backupdiff/testbackupdiff.cpp
===================================================================
--- box/trunk/test/backupdiff/testbackupdiff.cpp	2005-12-13 01:21:06 UTC (rev 220)
+++ box/trunk/test/backupdiff/testbackupdiff.cpp	2005-12-13 01:57:07 UTC (rev 221)
@@ -489,6 +489,9 @@
 		encoded->CopyStreamTo(out);
 		TEST_THAT(time(0) < (beginTime + 20));
 	}
+	// Remove zero-files to save disk space
+	remove("testfiles/zero.0");
+	remove("testfiles/zero.1");
 
 #if 0
 	// Code for a nasty real world example! (16Mb files, won't include them in the distribution