summaryrefslogtreecommitdiff
path: root/ext/standard/tests/streams
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2011-09-02 20:28:39 +0000
committerFerenc Kovacs <tyrael@php.net>2011-09-02 20:28:39 +0000
commitc6d59bd2faf2e3cc6fec86b0b93e0b511c066ce4 (patch)
tree9b53c7b42a56c9da9e0d6574fe48742909d88c71 /ext/standard/tests/streams
parent920fa567bdf2e8ac3f037ef94008827afed0ea76 (diff)
downloadphp-git-c6d59bd2faf2e3cc6fec86b0b93e0b511c066ce4.tar.gz
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
Diffstat (limited to 'ext/standard/tests/streams')
-rw-r--r--ext/standard/tests/streams/bug46024.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/streams/bug46024.phpt b/ext/standard/tests/streams/bug46024.phpt
index 3f2a5f836b..fdfd03ee2e 100644
--- a/ext/standard/tests/streams/bug46024.phpt
+++ b/ext/standard/tests/streams/bug46024.phpt
@@ -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"