]> granicus.if.org Git - php/commitdiff
MFB
authorNuno Lopes <nlopess@php.net>
Wed, 21 Feb 2007 16:27:12 +0000 (16:27 +0000)
committerNuno Lopes <nlopess@php.net>
Wed, 21 Feb 2007 16:27:12 +0000 (16:27 +0000)
ext/standard/tests/general_functions/proc_open02.phpt

index 8f087f3c140385ab21bbb7e39180363c98ed06f3..8b30f9921253acceaff43afe44466b5fb2176c5d 100644 (file)
@@ -3,14 +3,14 @@ proc_open
 --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 @@ echo "Done!\n";
 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 @@ array(8) {
 bool(true)
 array(8) {
   ["command"]=>
-  string(24) "/bin/nohup /bin/sleep 50"
+  string(28) "/usr/bin/nohup /bin/sleep 50"
   ["pid"]=>
   int(%d)
   ["running"]=>
@@ -72,7 +72,7 @@ Done!
 bool(true)
 array(8) {
   [u"command"]=>
-  unicode(24) "/bin/nohup /bin/sleep 50"
+  unicode(28) "/usr/bin/nohup /bin/sleep 50"
   [u"pid"]=>
   int(%d)
   [u"running"]=>
@@ -91,7 +91,7 @@ array(8) {
 bool(true)
 array(8) {
   [u"command"]=>
-  unicode(24) "/bin/nohup /bin/sleep 50"
+  unicode(28) "/usr/bin/nohup /bin/sleep 50"
   [u"pid"]=>
   int(%d)
   [u"running"]=>