Re: [RELEASE CANDIDATE]: mod_perl-2.0.5 RC2

Fred Moyer <[email protected]>
Newsgroups gmane.comp.java.ofbiz.devel,gmane.comp.apache.mod-perl
Message-ID <AANLkTi=N631_oKJ3kL0qvAHqAa2ZE4nBPp5ENh46nSFi__36133.6959912025$1296782642$gmane$org@mail.gmail.com>
On Thu, Feb 3, 2011 at 1:21 PM, David Dick <[email protected]> wrote:
> On 04/02/11 08:20, Fred Moyer wrote:
>>
>> On Thu, Feb 3, 2011 at 12:27 PM, David Dick<[email protected]>  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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.