[Box Backup-commit] COMMIT r3529 - box/trunk/test/backupstorefix/testfiles

subversion at boxbackup.org subversion at boxbackup.org
Mon Feb 23 22:26:10 GMT 2015


Author: chris
Date: 2015-02-23 22:26:10 +0000 (Mon, 23 Feb 2015)
New Revision: 3529

Modified:
   box/trunk/test/backupstorefix/testfiles/testbackupstorefix.pl.in
Log:
Fix test failure caused by logging fd change.

Logging everything to stdout (so that Windows users can redirect it) causes
extra output on stdout that confused the Perl script for this test.


Modified: box/trunk/test/backupstorefix/testfiles/testbackupstorefix.pl.in
===================================================================
--- box/trunk/test/backupstorefix/testfiles/testbackupstorefix.pl.in	2015-02-23 22:20:16 UTC (rev 3528)
+++ box/trunk/test/backupstorefix/testfiles/testbackupstorefix.pl.in	2015-02-23 22:26:10 UTC (rev 3529)
@@ -105,6 +105,7 @@
 		print LISTING_COPY;
 		chomp; s/\r//;
 		s/ \[FILENAME NOT ENCRYPTED\]//;
+		next if /^WARNING: \*\*\*\* BackupStoreFilename encoded with Clear encoding \*\*\*\*/;
 		if(exists $expected{$_})
 		{
 			delete $expected{$_}
@@ -142,6 +143,7 @@
 		print LISTING_COPY;
 		chomp;
 		s/\[FILENAME NOT ENCRYPTED\]//;
+		next if /^WARNING: \*\*\*\* BackupStoreFilename encoded with Clear encoding \*\*\*\*/;
 		my ($id,$type,$name) = split / /;
 		$count++;
 		if($name !~ /\Alost\+found0/)




More information about the Boxbackup-commit mailing list