]> granicus.if.org Git - php/commitdiff
Test fixes
authorIlia Alshanetsky <iliaa@php.net>
Sun, 18 Dec 2005 14:21:27 +0000 (14:21 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 18 Dec 2005 14:21:27 +0000 (14:21 +0000)
tests/lang/bug32924.phpt
tests/lang/bug35382.phpt

index ddb8301e31072fdfaee3b7bcbcfa7fc600bb5959..d72b0eaa2ec6fc9839d26bf74a8efd982a9f2fc0 100644 (file)
@@ -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--
index 1bd525ffb062c25e95cc5d828278cef5ca0ef357..69190d4c955b1c00f9b38efed679fa755ea74eca 100755 (executable)
@@ -1,6 +1,6 @@
 --TEST--
 Bug #35382 (Comment in end of file produces fatal error)
---FILE--
+--FILEEOF--
 <?php
 eval("echo 'Hello'; // comment");
 echo " World";