From 634bcc316451629066fa36bacb97154cb342fb0e Mon Sep 17 00:00:00 2001 From: John Barboza Date: Wed, 17 Jan 2018 00:34:52 -0500 Subject: [PATCH] zos,test: accept SIGKILL for flaky test Sending a SIGTERM to a process that is still starting up kills it with SIGKILL instead of SIGTERM. PR-URL: https://github.com/libuv/libuv/pull/1709 Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Santiago Gimeno Reviewed-By: Ben Noordhuis --- test/test-spawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-spawn.c b/test/test-spawn.c index 4086ab15..4a2869a1 100644 --- a/test/test-spawn.c +++ b/test/test-spawn.c @@ -92,7 +92,7 @@ static void kill_cb(uv_process_t* process, #else ASSERT(exit_status == 0); #endif -#if defined(__APPLE__) +#if defined(__APPLE__) || defined(__MVS__) /* * At least starting with Darwin Kernel Version 16.4.0, sending a SIGTERM to a * process that is still starting up kills it with SIGKILL instead of SIGTERM.