iliaa Wed Oct 23 22:40:02 2002 EDT Modified files: /php4/ext/xslt/tests 009.phpt Log: Various corrections aimed at making the test's results consistent across all enviroments. Index: php4/ext/xslt/tests/009.phpt diff -u php4/ext/xslt/tests/009.phpt:1.3 php4/ext/xslt/tests/009.phpt:1.4 --- php4/ext/xslt/tests/009.phpt:1.3 Wed Oct 23 18:21:39 2002 +++ php4/ext/xslt/tests/009.phpt Wed Oct 23 22:40:02 2002 @@ -2,17 +2,20 @@ Memoryleak in error printing --SKIPIF-- <?php include("skipif.inc"); ?> +--INI-- +error_reporting=2047 +display_errors=0 +track_errors=1 --FILE-- <?php -error_reporting(E_ALL); $xmlfile = 'ext/xslt/tests/non-existent.xml'; $xslfile = 'ext/xslt/tests/non-existent.xsl'; $xh = xslt_create(); $result = xslt_process($xh, $xmlfile, $xslfile, NULL); xslt_free($xh); + +echo $php_errormsg."\n"; ?> --EXPECTF-- -Warning: Sablotron error on line none: cannot open file '%s/ext/xslt/tests/non-existent.xsl' in %s/ext/xslt/tests/009.%s on line %i - -%sext/xslt/tests/009.%s(%i) : Warning - Sablotron error on line none: cannot open file '%sext/xslt/tests/non-existent.xsl' +Sablotron error on line none: cannot open file '%s/ext/xslt/tests/non-existent.xsl'
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php