# PERL will be an empty string if no perl interpreter was found.
PERL=@PERL@
+
+# D2U is used only on Windows to strip '\r' out of windows commands outputs
+D2U=cat
+
if test -n "$PERL"
then
if $PERL -e "use IO::Socket::INET6;" 2> /dev/null
open(FILE1, $file1) || die("open: $file1: $!\n");
while (<FILE1>) {
chomp;
+ ~ s/\R//g;
if (/^;.+status:\s+(\S+).+$/) {
$rcode1 = $1;
}
open(FILE2, $file2) || die("open: $file2: $!\n");
while (<FILE2>) {
chomp;
+ ~ s/\R//g;
if (/^;.+status:\s+(\S+).+$/) {
$rcode2 = $1;
}
print "I:$server didn't die when sent a SIGTERM\n";
$errors++;
}
-
+
my $result;
if ($^O eq 'cygwin') {
$result = system("/bin/kill -f -$sig $pid");