mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE
This commit is contained in:
parent
2d52a6934a
commit
7632d09a81
@ -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"); ?>
|
<?php if (!getenv('TEST_PHP_EXECUTABLE')) die("skip TEST_PHP_EXECUTABLE not defined"); ?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$php = getenv('TEST_PHP_EXECUTABLE');
|
$php = realpath(getenv('TEST_PHP_EXECUTABLE'));
|
||||||
$pipes = array();
|
$pipes = array();
|
||||||
$proc = proc_open(
|
$proc = proc_open(
|
||||||
"$php -n -i"
|
"$php -n -i"
|
||||||
|
Loading…
Reference in New Issue
Block a user