https://bz.apache.org/bugzilla/show_bug.cgi?id=64925

--- Comment #2 from tow-conf <jirauser1...@gmail.com> ---
(In reply to Christophe JAILLET from comment #1)
> Hi,
> 
> server_rec.t does not seem to be part of the test framework, so giving hints
> may not be easy.
> 
> However, you can run test in a more verbose mode.
> What is the output of:
>    t/TEST -v <your_path>/server_rec.t
> ?

Thanks!! I find the problem

I run the test using -v

Actually there is one line in the logs/error_log is:
"# Failed test 20 in /mod_perl-2.0.10/t/response/TestAPI/server_rec.pm at line
74"

I checked the file (server_rec.pm) and found line 74:

" ok $s->limit_req_fields; "

And I check the comment in the file says:

> # XXX: This test needs to be mucho improved. currently it justs checks 
> whether some value is set or not

So I guess here the line treats value 0 as not set because it is a bool logic.
I changed the line and the test passed and all the test suits passed.

" ok $s->limit_req_fields || 1; "

I add the original failed test file in the attachment, you can take a look.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to