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 <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
John Barboza 2018-01-17 00:34:52 -05:00 committed by cjihrig
parent dcd9b3cb27
commit 634bcc3164
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -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.