change 4487 broke the cacheclean test with old version of perl. [RT #43476]
This commit is contained in:
@@ -29,7 +29,8 @@ $rcode2 = "none";
|
||||
open(FILE1, $file1) || die("open: $file1: $!\n");
|
||||
while (<FILE1>) {
|
||||
chomp;
|
||||
~ s/\R//g;
|
||||
~ s/\n//g;
|
||||
~ s/\r\n//g;
|
||||
if (/^;.+status:\s+(\S+).+$/) {
|
||||
$rcode1 = $1;
|
||||
}
|
||||
@@ -65,7 +66,8 @@ $printed = 0;
|
||||
open(FILE2, $file2) || die("open: $file2: $!\n");
|
||||
while (<FILE2>) {
|
||||
chomp;
|
||||
~ s/\R//g;
|
||||
~ s/\n//g;
|
||||
~ s/\r\n//g;
|
||||
if (/^;.+status:\s+(\S+).+$/) {
|
||||
$rcode2 = $1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user