From cd0b538e90c4b48c7d05bb36f997b2ad9f7d817c Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 31 Jan 2019 21:35:08 -0800 Subject: [PATCH] disable the check for crash on shutdown when running under cygwin (cherry picked from commit 449842e1ce09c76dc108756e9deb8620a6263acd) --- bin/tests/system/stop.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; } -- GitLab