From 9cfcd6670158b0075973ce044fe89f87c5012972 Mon Sep 17 00:00:00 2001 From: Jonathan Morton Date: Tue, 13 Dec 2005 01:57:07 +0000 Subject: Refined BackupDiff test to delete the 220MB in temporary test files after use. Should cause much less strain on everyone's disk space. --- test/backupdiff/testbackupdiff.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/backupdiff') diff --git a/test/backupdiff/testbackupdiff.cpp b/test/backupdiff/testbackupdiff.cpp index 7845433c..99839bb8 100644 --- a/test/backupdiff/testbackupdiff.cpp +++ b/test/backupdiff/testbackupdiff.cpp @@ -489,6 +489,9 @@ int test(int argc, const char *argv[]) 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 -- cgit v1.2.3