From: Nuno Lopes Date: Sun, 8 Jan 2012 18:03:56 +0000 (+0000) Subject: do kill 9 to fix a race condition in this test. (should fix the debian 32-bit buildbot) X-Git-Tag: php-5.4.0RC6~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4cc04be2603b4eb7ffc0cdca60b9ae58ac1828b9;p=php do kill 9 to fix a race condition in this test. (should fix the debian 32-bit buildbot) --- diff --git a/ext/standard/tests/general_functions/bug39322.phpt b/ext/standard/tests/general_functions/bug39322.phpt index ef74e48397..a9f83c75bf 100644 --- a/ext/standard/tests/general_functions/bug39322.phpt +++ b/ext/standard/tests/general_functions/bug39322.phpt @@ -16,7 +16,7 @@ $pipes = array(); $process = proc_open('/bin/sleep 120', $descriptors, $pipes); -proc_terminate($process); +proc_terminate($process, 9); sleep(1); // wait a bit to let the process finish var_dump(proc_get_status($process)); @@ -38,7 +38,7 @@ array(8) { ["exitcode"]=> int(-1) ["termsig"]=> - int(15) + int(9) ["stopsig"]=> int(0) }