From: Evan Hunt Date: Fri, 1 Feb 2019 05:35:08 +0000 (-0800) Subject: disable the check for crash on shutdown when running under cygwin X-Git-Tag: v9.12.4rc1~31^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd0b538e90c4b48c7d05bb36f997b2ad9f7d817c;p=thirdparty%2Fbind9.git disable the check for crash on shutdown when running under cygwin (cherry picked from commit 449842e1ce09c76dc108756e9deb8620a6263acd) --- diff --git a/bin/tests/system/stop.pl b/bin/tests/system/stop.pl index 0008162e7c4..06ebf61a890 100644 --- a/bin/tests/system/stop.pl +++ b/bin/tests/system/stop.pl @@ -238,8 +238,12 @@ sub clean_pid_file { # If we're here, the PID file hasn't been cleaned up yet if (send_signal(0, $pid) == 0) { - print "I:$test:$server crashed on shutdown\n"; - $errors = 1; + # XXX: on windows this is likely to result in a + # false positive, so don't bother reporting the error. + if ($ENV{'CYGWIN'} eq "") { + print "I:$test:$server crashed on shutdown\n"; + $errors = 1; + } return; }