iliaa Sun Dec 18 14:21:27 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/tests/lang bug35382.phpt bug32924.phpt
Log:
Test fixes
http://cvs.php.net/viewcvs.cgi/php-src/tests/lang/bug35382.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/tests/lang/bug35382.phpt
diff -u php-src/tests/lang/bug35382.phpt:1.1.2.3
php-src/tests/lang/bug35382.phpt:1.1.2.4
--- php-src/tests/lang/bug35382.phpt:1.1.2.3 Sat Nov 26 13:38:28 2005
+++ php-src/tests/lang/bug35382.phpt Sun Dec 18 14:21:27 2005
@@ -1,6 +1,6 @@
--TEST--
Bug #35382 (Comment in end of file produces fatal error)
---FILE--
+--FILEEOF--
<?php
eval("echo 'Hello'; // comment");
echo " World";
http://cvs.php.net/viewcvs.cgi/php-src/tests/lang/bug32924.phpt?r1=1.2&r2=1.2.2.1&diff_format=u
Index: php-src/tests/lang/bug32924.phpt
diff -u php-src/tests/lang/bug32924.phpt:1.2
php-src/tests/lang/bug32924.phpt:1.2.2.1
--- php-src/tests/lang/bug32924.phpt:1.2 Tue Aug 2 15:13:21 2005
+++ php-src/tests/lang/bug32924.phpt Sun Dec 18 14:21:27 2005
@@ -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--
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php