nlopess Wed Feb 21 16:25:37 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/general_functions proc_open02.phpt
Log:
use /usr/bin/nohup instead
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/proc_open02.phpt?r1=1.1.2.1&r2=1.1.2.2&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.1
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.1
Wed Feb 14 19:13:31 2007
+++ php-src/ext/standard/tests/general_functions/proc_open02.phpt Wed Feb
21 16:25:37 2007
@@ -3,14 +3,14 @@
--SKIPIF--
<?php
if (!is_executable('/bin/sleep')) echo 'skip no sleep';
-if (!is_executable('/bin/nohup')) echo 'skip no nohup';
+if (!is_executable('/usr/bin/nohup')) echo 'skip no nohup';
?>
--FILE--
<?php
$ds = array(array('pipe', 'r'));
$cat = proc_open(
- '/bin/nohup /bin/sleep 50',
+ '/usr/bin/nohup /bin/sleep 50',
$ds,
$pipes
);
@@ -32,7 +32,7 @@
bool(true)
array(8) {
["command"]=>
- string(24) "/bin/nohup /bin/sleep 50"
+ string(28) "/usr/bin/nohup /bin/sleep 50"
["pid"]=>
int(%d)
["running"]=>
@@ -51,7 +51,7 @@
bool(true)
array(8) {
["command"]=>
- string(24) "/bin/nohup /bin/sleep 50"
+ string(28) "/usr/bin/nohup /bin/sleep 50"
["pid"]=>
int(%d)
["running"]=>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php