[Box Backup-commit] COMMIT r1904 - box/trunk

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Nov 3 19:25:49 GMT 2007


Author: chris
Date: 2007-11-03 19:25:49 +0000 (Sat, 03 Nov 2007)
New Revision: 1904

Modified:
   box/trunk/runtest.pl.in
Log:
Log stderr output in the test log file, and don't delete it at the
end of the test (it might be useful later, and will be overwritten
automatically)


Modified: box/trunk/runtest.pl.in
===================================================================
--- box/trunk/runtest.pl.in	2007-11-03 18:29:37 UTC (rev 1903)
+++ box/trunk/runtest.pl.in	2007-11-03 19:25:49 UTC (rev 1904)
@@ -88,7 +88,8 @@
 	}
 	
 	# run it
-	my $test_res = system("cd $test_mode/test/$t ; ./t | tee ../../../temp.runtest");
+	my $test_res = system("cd $test_mode/test/$t ; ./t 2>&1 " .
+		"| tee ../../../temp.runtest");
 
 	# open test results
 	if(open RESULTS,'temp.runtest')
@@ -114,6 +115,6 @@
 	}
 	
 	# delete test results
-	unlink 'temp.runtest';
+	# unlink 'temp.runtest';
 }
 




More information about the Boxbackup-commit mailing list