You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 2001/12/05 22:47:51 UTC

New perl-framework failures

Now I'm getting this on Linux (RH 5.2 with Perl 5.6.1):

http11/basicauth....Use of uninitialized value in numeric eq (==) at http11/basicauth.t line 28.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 3
        Failed 1/3 tests, 66.67% okay
http11/chunked......Use of uninitialized value in numeric eq (==) at http11/chunked.t line 50.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2, 5-30
        Failed 27/30 tests, 10.00% okay

I'm *not* seeing these on more recent Linux versions (also
with Perl 5.6.*)..
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"

Re: New perl-framework failures

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
* On 2001-12-06 at 18:43,
  Rodent of Unusual Size <Ke...@golux.com> excited the electrons to say:
> 
> Eh.  So why am I not seeing Client-Request-Num in the LWP
> output?  Rrrr...

Hmm.. maybe because 'User-Agent: lwp-request/1.37' instead of 1.40?
Which is what I get on another system where this *doesn't* fail?
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"

Re: New perl-framework failures

Posted by Doug MacEachern <do...@covalent.net>.
On Thu, 6 Dec 2001, Rodent of Unusual Size wrote:
 
> Eh.  So why am I not seeing Client-Request-Num in the LWP
> output?  Rrrr...

because your are using lwp 5.62?

the change was actually made in 5.61, from Changes:
"- Client-Request-Num renamed to Client-Response-Num"


Re: New perl-framework failures

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
* On 2001-12-06 at 18:35,
  Doug MacEachern <do...@covalent.net> excited the electrons to say:
> 
> On Thu, 6 Dec 2001, Rodent of Unusual Size wrote:
> 
> > Client-Response-Num: 3
> ... 
> > my $request_num = $res->header('Client-Request-Num');
> ...
> > Was that supposed to be 'Client-Response-Num' instead of 'Request'?
> 
> no, that's correct for lwp 5.60.  i just made a change so both versions
> are supported.

Eh.  So why am I not seeing Client-Request-Num in the LWP
output?  Rrrr...
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"

Re: New perl-framework failures

Posted by Doug MacEachern <do...@covalent.net>.
On Thu, 6 Dec 2001, Rodent of Unusual Size wrote:

> Client-Response-Num: 3
... 
> my $request_num = $res->header('Client-Request-Num');
...
> Was that supposed to be 'Client-Response-Num' instead of 'Request'?

no, that's correct for lwp 5.60.  i just made a change so both versions
are supported.


Re: New perl-framework failures

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Doug MacEachern wrote:
> 
> if >= 5.60 output of t/TEST -d lwp t/http11/basicauth.t
> would be useful.

No real joy:

http11/basicauth....1..3
GET http://localhost:8529/authany/index.html:
User-Agent: libwww-perl/5.62

HTTP/1.1 401 (Unauthorized) Authorization Required
Connection: Keep-Alive
Date: Thu, 06 Dec 2001 21:32:59 GMT
Server: Apache/2.0.30-dev (Unix)
WWW-Authenticate: Basic realm="authany"
Content-Length: 401
Content-Type: text/html; charset=iso-8859-1
Client-Date: Thu, 06 Dec 2001 21:33:02 GMT
Client-Response-Num: 1
Keep-Alive: timeout=15, max=100
Title: 401 Authorization Required

ok 1
GET http://localhost:8529/authany/index.html:
Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=
User-Agent: libwww-perl/5.62

HTTP/1.1 200 OK
Date: Thu, 06 Dec 2001 21:33:05 GMT
Accept-Ranges: bytes
ETag: "11ef7-1a-d1ed2e80"
Server: Apache/2.0.30-dev (Unix)
Content-Length: 26
Content-Type: text/html
Last-Modified: Mon, 30 Jul 2001 19:37:14 GMT
Client-Date: Thu, 06 Dec 2001 21:33:05 GMT
Client-Response-Num: 3

ok 2
Use of uninitialized value in numeric eq (==) at http11/basicauth.t line 28.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 3
        Failed 1/3 tests, 66.67% okay

Lines 26-28 is:

my $request_num = $res->header('Client-Request-Num');

ok $request_num == 3;

Was that supposed to be 'Client-Response-Num' instead of 'Request'?
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"

Re: New perl-framework failures

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Doug MacEachern wrote:
> 
> what version of LWP?

5.62

> if >= 5.60 output of t/TEST -d lwp t/http11/basicauth.t
> would be useful.

Working on it..
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"

Re: New perl-framework failures

Posted by Doug MacEachern <do...@covalent.net>.
On Wed, 5 Dec 2001, Rodent of Unusual Size wrote:

> Now I'm getting this on Linux (RH 5.2 with Perl 5.6.1):
... 
> I'm *not* seeing these on more recent Linux versions (also
> with Perl 5.6.*)..

what version of LWP?  those tests should be skipped unless >= 5.60

if >= 5.60 output of t/TEST -d lwp t/http11/basicauth.t
would be useful.