perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@redhotpenguin.com>
Subject Re: [RELEASE CANDIDATE]: mod_perl-2.0.5 RC2
Date Fri, 04 Feb 2011 01:23:28 GMT
On Thu, Feb 3, 2011 at 1:21 PM, David Dick <ddick@iinet.net.au> wrote:
> On 04/02/11 08:20, Fred Moyer wrote:
>>
>> On Thu, Feb 3, 2011 at 12:27 PM, David Dick<ddick@iinet.net.au>  wrote:
>>>
>>> -------------------
>>> t/filter/both_str_req_mix.t           (Wstat: 65280 Tests: 0 Failed: 0)
>>>  Non-zero exit status: 255
>>>  Parse errors: Bad plan.  You planned 1 tests but ran 0.
>>>
>>> Fedora 14 comes with
>>>
>>> Apache/2.2.17 (Unix)
>>> perl-5.12.2-140

Can you edit  t/filter/both_str_req_mix.t and uncomment the #t_debug
lines [1] and post the output again from the test run?  That will tell
us if the problem is no output from the server, or an issue with your
version of Compress::Zlib (please include that also if you can).  I
haven't ben able to replicate this issue yet but am installing and
testing on Fedora.

One thing this has shown me from testing on Centos, is that if your
/etc/httpd/httpd.conf file is basically unmodified, you may get some
odd testing results as a result of an Apache::Test problem where it
reads the system wide configuration file to determine what modules are
available.  So if mod_authn_file is not enabled in
/etc/httpd/httpd.conf, the test suite will fail with 'Invalid command
'AuthGroupFile', perhaps misspelled or defined by a module not
included in the server configuration".  The module is on the system,
but since Apache::Test doesn't see it in the global httpd.conf file,
it doesn't load it.

In general, testing against rpm installations of httpd may produce
some erratic results because of that Apache::Test issue.  I'll try to
fix that after this release, the code which looks for and loads apache
modules is pretty dense and complicated.

[1]
17 # gzip already produces data in a network order, so no extra
 18 # transformation seem to be necessary
 19
 20 my $content = Compress::Zlib::memGzip($request_orig);
 21 my $response_raw = POST_BODY $location,
 22     content            => $content,
 23     'Accept-Encoding'  => "gzip",
 24     'Content-Encoding' => "gzip";
 25
 26 #t_debug($response_raw);
 27 my $response_clear = Compress::Zlib::memGunzip($response_raw);
 28 #t_debug($response_clear);

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message