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

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Thu, 13 Mar 2008 21:41:47 +0000 (UTC)


Author: chris
Date: 2008-03-13 21:41:47 +0000 (Thu, 13 Mar 2008)
New Revision: 2108

Modified:
   box/trunk/runtest.pl.in
Log:
Remove \r from test output so that PASSED tests are correctly detected 
as PASSED on Windows.


Modified: box/trunk/runtest.pl.in
===================================================================
--- box/trunk/runtest.pl.in	2008-03-13 21:40:51 UTC (rev 2107)
+++ box/trunk/runtest.pl.in	2008-03-13 21:41:47 UTC (rev 2108)
@@ -124,6 +124,7 @@
 		close RESULTS;
 
 		chomp $last;
+		$last =~ s/\r//;
 		push @results, "$t: $last";
 
 		if ($last ne "PASSED")