]> granicus.if.org Git - php/commitdiff
pass an absolute path for the php binary to proc_open, without this the test would...
authorFerenc Kovacs <tyrael@php.net>
Fri, 2 Sep 2011 20:28:39 +0000 (20:28 +0000)
committerFerenc Kovacs <tyrael@php.net>
Fri, 2 Sep 2011 20:28:39 +0000 (20:28 +0000)
ext/standard/tests/streams/bug46024.phpt

index 3f2a5f836b54237551828732da700a9917c0aa2d..fdfd03ee2ef977bcc3f85b4dbede9d718347df96 100644 (file)
@@ -4,7 +4,7 @@ Bug #46024 stream_select() doesn't return the correct number
 <?php if (!getenv('TEST_PHP_EXECUTABLE')) die("skip TEST_PHP_EXECUTABLE not defined"); ?>
 --FILE--
 <?php
-$php = getenv('TEST_PHP_EXECUTABLE'); 
+$php = realpath(getenv('TEST_PHP_EXECUTABLE')); 
 $pipes = array();
 $proc = proc_open(
        "$php -n -i"