From f929f5023cd0efc785ec472ed0563bd0ea14324b 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 eaad0f4cf6a..5a4f16b5d3b 100644 --- a/bin/tests/system/stop.pl +++ b/bin/tests/system/stop.pl @@ -249,8 +249,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