Skip to content

Commit

Permalink
do kill 9 to fix a race condition in this test. (should fix the debia…
Browse files Browse the repository at this point in the history
…n 32-bit buildbot)
  • Loading branch information
nunoplopes committed Jan 8, 2012
1 parent 5df401a commit 4cc04be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/standard/tests/general_functions/bug39322.phpt
Expand Up @@ -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));

Expand All @@ -38,7 +38,7 @@ array(8) {
["exitcode"]=>
int(-1)
["termsig"]=>
int(15)
int(9)
["stopsig"]=>
int(0)
}
Expand Down

0 comments on commit 4cc04be

Please sign in to comment.