diff options
author | Stanislav Malyshev <stas@php.net> | 2011-12-26 03:55:29 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2011-12-26 03:55:29 +0000 |
commit | 36d45859964c120ae9f84573ca0706fdc31d678d (patch) | |
tree | 99fc23752748b2b9885d0fd726cde627960bd8ca | |
parent | d42917b6050c8f3dc969c9e1fa55ed9a08ac29d9 (diff) | |
download | php-git-36d45859964c120ae9f84573ca0706fdc31d678d.tar.gz |
fix test - paths may be expressed in different way
-rw-r--r-- | tests/basic/bug54514.phpt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/basic/bug54514.phpt b/tests/basic/bug54514.phpt index f53a3180cd..0c5595e3f7 100644 --- a/tests/basic/bug54514.phpt +++ b/tests/basic/bug54514.phpt @@ -2,8 +2,11 @@ Req #54514 (Get php binary path during script execution) --FILE-- <?php -if(getenv('TEST_PHP_EXECUTABLE') === PHP_BINARY) { +if(realpath(getenv('TEST_PHP_EXECUTABLE')) === realpath(PHP_BINARY)) { echo "done"; +} else { + var_dump(getenv('TEST_PHP_EXECUTABLE')); + var_dump(PHP_BINARY); } --EXPECT-- done |