Bug #62055 [Asn]: Minor fix to ext/zlib/tests/bug60761.phpt
| From: | zoe@php.net | Date: | Tue, 02 Oct 2012 13:42:23 +0000 |
| Subject: | Bug #62055 [Asn]: Minor fix to ext/zlib/tests/bug60761.phpt | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-173866@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62055&edit=1
ID: 62055
Updated by: zoe@php.net
Reported by: zoe@php.net
Summary: Minor fix to ext/zlib/tests/bug60761.phpt
Status: Assigned
Type: Bug
Package: Testing related
Operating System: Any
PHP Version: master-Git-2012-05-17 (Git)
Assigned To: zoe
Block user comment: N
Private report: N
New Comment:
This test is not using the CGI. It is just being run by the CLI.
The options are
1. to remove the --CGI-- section (which is simply ignored) and the comments and leave it as a valid
CLI test.
2. To remove the test
Previous Comments:
------------------------------------------------------------------------
[2012-05-18 08:43:01] zoe@php.net
My bad. --CGI-- is a valid test section but only for tests run using server-
tests.php. run-tests.php just ignores it silently and uses the php-cli.
Would --GZIP_POST-- be helpful? This will use php-cgi...
------------------------------------------------------------------------
[2012-05-17 19:22:37] zoe@php.net
Description:
------------
ext/zlib/tests/bug60761.phpt
Contains a section --CGI-- which is not a PHPT section. The run-tests.php code
simply ignores this section.
I'm tempted to just remove it, as it makes no difference to the test. However the
comments in the test imply that the author intended to run this using php-cgi. It
is actually using that cli.
It's a valid test (if you take the --CGI-- out), is it useful in relation to bug
60761?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62055&edit=1