diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-12-18 14:21:27 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-12-18 14:21:27 +0000 |
commit | b6f856fbeca9708e13685073b4de83151401c213 (patch) | |
tree | a7e5d004fec4858ee87a4e13dd823fd574b8127e /tests | |
parent | 2f3678eb447d76df6a0e1ec7e162c4f10abaf955 (diff) | |
download | php-git-b6f856fbeca9708e13685073b4de83151401c213.tar.gz |
Test fixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lang/bug32924.phpt | 8 | ||||
-rwxr-xr-x | tests/lang/bug35382.phpt | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/lang/bug32924.phpt b/tests/lang/bug32924.phpt index ddb8301e31..d72b0eaa2e 100644 --- a/tests/lang/bug32924.phpt +++ b/tests/lang/bug32924.phpt @@ -1,12 +1,12 @@ --TEST-- Bug #32924 (prepend does not add file to included files) --INI-- -include_path=. -auto_prepend_file=tests/lang/inc.inc +include_path={PWD} +auto_prepend_file=inc.inc --FILE-- <?php -include_once('tests/lang/inc.inc'); -require_once('tests/lang/inc.inc'); +include_once(dirname(__FILE__).'/inc.inc'); +require_once(dirname(__FILE__).'/inc.inc'); ?> END --EXPECT-- diff --git a/tests/lang/bug35382.phpt b/tests/lang/bug35382.phpt index 1bd525ffb0..69190d4c95 100755 --- a/tests/lang/bug35382.phpt +++ b/tests/lang/bug35382.phpt @@ -1,6 +1,6 @@ --TEST-- Bug #35382 (Comment in end of file produces fatal error) ---FILE-- +--FILEEOF-- <?php eval("echo 'Hello'; // comment"); echo " World"; |