diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2002-10-24 02:40:03 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2002-10-24 02:40:03 +0000 |
| commit | 9d079e9b3eff426b0dd27c5f32089f7d25cc0f92 (patch) | |
| tree | d7f861cb6b8a3bb5294067f4479fab98e9d7499d | |
| parent | 1ff1e6496b4da5a1e3be7d4a42c4d715eeea360c (diff) | |
| download | php-git-9d079e9b3eff426b0dd27c5f32089f7d25cc0f92.tar.gz | |
Various corrections aimed at making the test's results consistent across
all enviroments.
| -rw-r--r-- | ext/xslt/tests/009.phpt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ext/xslt/tests/009.phpt b/ext/xslt/tests/009.phpt index 1840f284b8..eeb1c6d769 100644 --- a/ext/xslt/tests/009.phpt +++ b/ext/xslt/tests/009.phpt @@ -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' |
