diff options
author | Nuno Lopes <nlopess@php.net> | 2007-02-22 11:48:14 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2007-02-22 11:48:14 +0000 |
commit | d94e388d74b102cb85fed4b0e99c2ffeca2d7eb9 (patch) | |
tree | bd5aa29ac4d79040df9209926ebdffe7f14b33d3 | |
parent | dfbc2245553c51eac94d2ed6dd2be9c2701415d9 (diff) | |
download | php-git-d94e388d74b102cb85fed4b0e99c2ffeca2d7eb9.tar.gz |
fix test on ultra-fast-machines and/or SOs with long time slices
# Thanks Tony
-rw-r--r-- | ext/standard/tests/general_functions/proc_open02.phpt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/tests/general_functions/proc_open02.phpt b/ext/standard/tests/general_functions/proc_open02.phpt index b086f6f6e1..3cba15e9ad 100644 --- a/ext/standard/tests/general_functions/proc_open02.phpt +++ b/ext/standard/tests/general_functions/proc_open02.phpt @@ -15,6 +15,8 @@ $cat = proc_open( $pipes ); +sleep(1); // let the OS run the nohup process before sending the signal + var_dump(proc_terminate($cat, 1)); // send a SIGHUP sleep(1); var_dump(proc_get_status($cat)); |