cvs: php-src(PHP_5_2) /ext/standard/tests/general_functions proc_open02.phpt

From: Date: Thu, 22 Feb 2007 11:48:15 +0000
Subject: cvs: php-src(PHP_5_2) /ext/standard/tests/general_functions proc_open02.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-43209@lists.php.net to get a copy of this message
nlopess Thu Feb 22 11:48:15 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard/tests/general_functions proc_open02.phpt Log: fix test on ultra-fast-machines and/or SOs with long time slices # Thanks Tony http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/proc_open02.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u Index: php-src/ext/standard/tests/general_functions/proc_open02.phpt diff -u php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.1.2.2 php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.1.2.3 --- php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.1.2.2 Wed Feb 21 16:25:37 2007 +++ php-src/ext/standard/tests/general_functions/proc_open02.phpt Thu Feb 22 11:48:14 2007 @@ -15,6 +15,8 @@ $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));

« previous php.cvs (#43209) next »