Right, I saw the test results sent to QA list (maybe yours), and I figure 
the problem under debugging. BTW how can I test whether the error message 
output is correct with the current testing framework?

Moriyoshi

"Ilia A." <[EMAIL PROTECTED]> wrote:

> I think this test should be removed. The error that is being generated is 
> E_ERROR meaning that the script gets terminated and we cannot capture in 
> $php_errormsg. The result is that the error output is flexible, for example 
> on my system the error message does not match the expected output and fails, 
> even though the actual code behavior is correct.
> 
> Ilia
> 
> On November 10, 2002 02:27 pm, Moriyoshi Koizumi wrote:
> > moriyoshi           Sun Nov 10 14:27:48 2002 EDT
> >
> >   Modified files:
> >     /php4/tests/lang        bug17882.phpt
> >   Log:
> >   Made it conscious of the line number
> >
> >
> > Index: php4/tests/lang/bug17882.phpt
> > diff -u php4/tests/lang/bug17882.phpt:1.1 php4/tests/lang/bug17882.phpt:1.2
> > --- php4/tests/lang/bug17882.phpt:1.1       Sun Nov 10 13:43:19 2002
> > +++ php4/tests/lang/bug17882.phpt   Sun Nov 10 14:27:48 2002
> > @@ -12,4 +12,4 @@
> >  }
> >  ?>
> >  --EXPECTF--
> > -Fatal error: Cannot redeclare a() in %s/bug17882.php on line %d
> > +Fatal error: Cannot redeclare a() in %s/bug17882.php on line 4
> 


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to