Re: cvs: php4 /tests/lang bug17882.phpt
| From: | Ilia A. | Date: | Sun, 10 Nov 2002 20:07:58 +0000 |
| Subject: | Re: cvs: php4 /tests/lang bug17882.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-15962@lists.php.net to get a copy of this message | ||
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