mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
change 4487 broke the cacheclean test with old version of perl. [RT #43476]
This commit is contained in:
parent
856c77cc40
commit
ecd8e95bb5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user