]> granicus.if.org Git - php/commitdiff
Various corrections aimed at making the test's results consistent across
authorIlia Alshanetsky <iliaa@php.net>
Thu, 24 Oct 2002 02:40:03 +0000 (02:40 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 24 Oct 2002 02:40:03 +0000 (02:40 +0000)
all enviroments.

ext/xslt/tests/009.phpt

index 1840f284b805186e989b4cf4ef6b9670a094bf9a..eeb1c6d7694b3cf0b2bcc5db5c9d974c6728b95c 100644 (file)
@@ -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'