diff options
-rwxr-xr-x | test/backupstorefix/testfiles/testbackupstorefix.pl.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/backupstorefix/testfiles/testbackupstorefix.pl.in b/test/backupstorefix/testfiles/testbackupstorefix.pl.in index e64474f0..b57f10ac 100755 --- a/test/backupstorefix/testfiles/testbackupstorefix.pl.in +++ b/test/backupstorefix/testfiles/testbackupstorefix.pl.in @@ -54,7 +54,7 @@ elsif($ARGV[0] eq 'check') open INITIAL,'testfiles/initial-listing.txt' or die "Can't open original listing"; while(<INITIAL>) { - chomp; s/\r//; + chomp; $expected{$_} = 1; m/\A(.+?) .+? (.+)\Z/; $filenames{$2} = $_; @@ -99,7 +99,7 @@ elsif($ARGV[0] eq 'check') while(<LISTING>) { print LISTING_COPY; - chomp; s/\r//; + chomp; s/\[FILENAME NOT ENCRYPTED\]//; if(exists $expected{$_}) { |