[Box Backup-commit] COMMIT r930 - box/chris/merge/test/backupstorefix/testfiles

subversion at fluffy.co.uk subversion at fluffy.co.uk
Sat Sep 2 11:51:42 BST 2006


Author: chris
Date: 2006-09-02 11:51:41 +0100 (Sat, 02 Sep 2006)
New Revision: 930

Modified:
   box/chris/merge/test/backupstorefix/testfiles/testbackupstorefix.pl.in
Log:
(refs #3)

Remove newlines from output to avoid failure to recognise it on Win32


Modified: box/chris/merge/test/backupstorefix/testfiles/testbackupstorefix.pl.in
===================================================================
--- box/chris/merge/test/backupstorefix/testfiles/testbackupstorefix.pl.in	2006-09-02 10:51:01 UTC (rev 929)
+++ box/chris/merge/test/backupstorefix/testfiles/testbackupstorefix.pl.in	2006-09-02 10:51:41 UTC (rev 930)
@@ -54,7 +54,7 @@
 	open INITIAL,'testfiles/initial-listing.txt' or die "Can't open original listing";
 	while(<INITIAL>)
 	{
-		chomp;
+		chomp; s/\r//;
 		$expected{$_} = 1;
 		m/\A(.+?) .+? (.+)\Z/;
 		$filenames{$2} = $_;
@@ -99,7 +99,7 @@
 	while(<LISTING>)
 	{
 		print LISTING_COPY;
-		chomp;
+		chomp; s/\r//;
 		s/\[FILENAME NOT ENCRYPTED\]//;
 		if(exists $expected{$_})
 		{




More information about the Boxbackup-commit mailing list