diff options
| author | Antony Dovgal <tony2001@php.net> | 2005-06-29 11:52:18 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2005-06-29 11:52:18 +0000 |
| commit | f4667ee2683250238ca09ed3abca91424882cff1 (patch) | |
| tree | ba6be5325cedb0fa4b8cca27f8d0a64eedf2ca81 /ext/xml/tests | |
| parent | 58379a1d6c9ceea9ae39fa1b947418aae0f0095d (diff) | |
| download | php-git-f4667ee2683250238ca09ed3abca91424882cff1.tar.gz | |
fix test
Diffstat (limited to 'ext/xml/tests')
| -rw-r--r-- | ext/xml/tests/bug32001.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/xml/tests/bug32001.phpt b/ext/xml/tests/bug32001.phpt index 26bf58427c..6b7320d06b 100644 --- a/ext/xml/tests/bug32001.phpt +++ b/ext/xml/tests/bug32001.phpt @@ -156,7 +156,8 @@ $suite = array( ); if (XML_SAX_IMPL == 'libxml') { - preg_match("/^libxml2 Version.*\$/im", `$_ENV[TEST_PHP_EXECUTABLE] -i`, $match); + $php = getenv('TEST_PHP_EXECUTABLE'); + preg_match("/^libxml2 Version.*\$/im", `$php -i`, $match); echo $match[0], "\n"; } else { echo "libxml2 Version => NONE\n"; |
