You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Philip M. Gollucci" <pg...@p6m7g8.com> on 2006/09/01 08:24:33 UTC

Re: libapreq test issues

Ben Wheeler wrote:
> On Tue, Aug 29, 2006 at 10:15:34AM -0700, Philip M. Gollucci wrote:
>> Can you post the stderr and glue/perl/t/error_log assuming output AFTER 
>> you've installed LWP.
> 
> Did you see the bit where I said all the tests passed after I installed LWP? 
Nope, completely missed it -- but I see it now :)

> 
>> The test requires LWP to run, not liabpreq.
> 
> If that's the case, shouldn't the cookie test that failed ought to skip 
> if LWP is not installed, like the others do? And it would be great if
> all the skips provided a reason, and the README made it plain that if
> you don't have LWP you don't get many tests. As far as I know, LWP is
> not a core Perl module...  yet...

t/apreq/cookie.......ok 1/13# Failed test 7 in t/apreq/cookie.t at line 70
t/apreq/cookie.......NOK 7# Failed test 10 in t/apreq/cookie.t at line 110
t/apreq/cookie.......NOK 10# Failed test 11 in t/apreq/cookie.t at line 129
t/apreq/cookie.......NOK 11# Failed test 12 in t/apreq/cookie.t at line 148

I can duplicate it on my box with LWP -- I'm not sure why yet, but this means I can fix it :)


-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
       <___/

Re: libapreq test issues

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Philip M. Gollucci wrote:
>I can duplicate it on my box with LWP -- I'm not sure why yet, but this means I can fix it :)

via Ethereal I see this WITHOUT LWP

GET http://localhost:8529/TestApReq__cookie?test=cookies&key=first HTTP/1.0
User-Agent: libwww-perl/0.00
Cookie: $Version="1"; two="22"
Host: localhost

HTTP/1.1 500 Internal Server Error
Date: Fri, 01 Sep 2006 06:48:43 GMT
Server: Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.7e-p1 DAV/2 mod_apreq2-20051231/2.6.0-dev mod_perl/2.0.3-dev
Perl/v5.8.8
Content-Length: 535
Connection: close
Content-Type: text/html; charset=iso-8859-1

WITH
GET /TestApReq__cookie?test=cookies&key=first HTTP/1.0
Host: localhost:8529
User-Agent: libwww-perl/5.805
Cookie: $Version="1"; one="1"
Cookie: $Version="1"; two="2"
Cookie: $Version="1"; three="3"
Cookie: $Version="1"; two="22"

HTTP/1.1 200 OK
Date: Fri, 01 Sep 2006 06:53:57 GMT
Server: Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.7e-p1 DAV/2 mod_apreq2-20051231/2.6.0-dev mod_perl/2.0.3-dev
Perl/v5.8.8
Connection: close
Content-Type: text/plain

one="1"; Version=1

AFAIK, the bug isn't with libapreq, but Apache-Test (specifically Apache::TestRequest)
The problem being that it failed to send mutiple cookies like we requested.

Anyone what to chime in?

I'll consider this issue closed since I just commited this and the test suite will just skip it now.

http://svn.apache.org/viewvc?rev=439208&view=rev

Maybe bring it back up on test-dev@p.a.o ?


-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
       <___/