Re: cvs: php4 /tests/lang bug17882.phpt
| From: | Moriyoshi Koizumi | Date: | Mon, 11 Nov 2002 00:13:03 +0000 |
| Subject: | Re: cvs: php4 /tests/lang bug17882.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-15975@lists.php.net to get a copy of this message | ||
Okay, I'm going to remove this one soon.
Moriyoshi
"Ilia A." <ilia@prohost.org> wrote:
> On November 10, 2002 03:22 pm, Moriyoshi Koizumi wrote:
> > 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?
>
> Unless we are tracking an error we can capture via $php_errormsg, the output
> of the message will be not always consistent and depend on numerous
> configuration parameters such as enable_debug, error reporting level and so
> on. I think it is simply better to let this test go...
>
> Ilia
>
>
> > Moriyoshi
> >
> > "Ilia A." <ilia@prohost.org> 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
>