summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/bug32924.phpt8
-rwxr-xr-xtests/lang/bug35382.phpt2
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";