summaryrefslogtreecommitdiff
path: root/test/backupstorefix/testfiles/testbackupstorefix.pl.in
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-10-27 18:58:33 +0000
committerChris Wilson <chris+github@qwirx.com>2006-10-27 18:58:33 +0000
commit192d2a1fb9a17abf4ebe103f61b57c0f1f57bc0b (patch)
tree998e6be4a2fd33d35635e25fef3ad0a7796930de /test/backupstorefix/testfiles/testbackupstorefix.pl.in
parenta7bd6b28448fff22986e3e51b1057f226ebe21ca (diff)
Remove newlines from output to avoid failure to recognise it on Win32.
Diffstat (limited to 'test/backupstorefix/testfiles/testbackupstorefix.pl.in')
-rwxr-xr-xtest/backupstorefix/testfiles/testbackupstorefix.pl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/backupstorefix/testfiles/testbackupstorefix.pl.in b/test/backupstorefix/testfiles/testbackupstorefix.pl.in
index b57f10ac..e64474f0 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;
+ chomp; s/\r//;
$expected{$_} = 1;
m/\A(.+?) .+? (.+)\Z/;
$filenames{$2} = $_;
@@ -99,7 +99,7 @@ elsif($ARGV[0] eq 'check')
while(<LISTING>)
{
print LISTING_COPY;
- chomp;
+ chomp; s/\r//;
s/\[FILENAME NOT ENCRYPTED\]//;
if(exists $expected{$_})
{