Skip Menu |

This queue is for tickets about the WWW-Mechanize-Shell CPAN distribution.

Report information
The Basics
Id: 40062
Status: resolved
Priority: 0/
Queue: WWW-Mechanize-Shell

People
Owner: Nobody in particular
Requestors: david [...] davidfavor.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.46
Fixed in: (no value)



Subject: perl-5.10.0-34477 + WWW-Mechanize-Shell-0.46 test fails
Date: Tue, 14 Oct 2008 17:57:26 -0500
To: bug-WWW-Mechanize-Shell [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
net1#PERL_DL_NONLAZY=1 /common/pkgs/perl-5.10.0-34477/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/13-command-au.t t/13-command-au...... 1..8 ok 1 - use WWW::Mechanize::Shell; ok 2 - Request with inline credentials gives 200 ok 3 - Credentials are good Use of uninitialized value $pass in concatenation (.) or string at /common/pkgs/perl-5.10.0-34477/lib/site_perl/5.10.0/LWP/Authen/Basic.pm line 8, <SERVER> line 1. not ok 4 - Request without credentials gives 401 # Failed test 'Request without credentials gives 401' # at t/13-command-au.t line 47. # got: '200' # expected: '401' not ok 5 - Content requests authentication # Failed test 'Content requests authentication' # at t/13-command-au.t line 48. # got: 'user = '*LWP' pass = ':UserAgent::get_basic_credentials:'' # expected: 'auth required' Use of uninitialized value in pattern match (m//) at /root/.cpanplus/5.10.0/build/WWW-Mechanize-Shell-0.46/blib/lib/WWW/Mechanize/Shell.pm line 1360, <SERVER> line 1. not ok 6 - UA stored the authentification # Failed test 'UA stored the authentification' # at t/13-command-au.t line 51. # Structures begin differing at: # $got = undef # $expected = ARRAY(0x97163f0) Use of uninitialized value $pass in concatenation (.) or string at /common/pkgs/perl-5.10.0-34477/lib/site_perl/5.10.0/LWP/Authen/Basic.pm line 8, <SERVER> line 1. ok 7 - Request with credentials gives 200 not ok 8 - Credentials are good # Failed test 'Credentials are good' # at t/13-command-au.t line 56. # got: 'user = '*LWP' pass = ':UserAgent::get_basic_credentials:'' # expected: 'user = 'foo' pass = 'bar'' # Looks like you failed 4 tests of 8. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/8 subtests Test Summary Report ------------------- t/13-command-au.t (Wstat: 1024 Tests: 8 Failed: 4) Failed tests: 4-6, 8 Non-zero exit status: 4 Files=1, Tests=8, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.50 cusr 0.04 csys = 0.56 CPU) Result: FAIL Failed 1/1 test programs. 4/8 subtests failed. -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
This is a problem between WWW::Mechanize 1.34+ and LWP::UserAgent 5.815+ and has nothing to do with WWW::Mechanize::Shell. I've fixed the tests so that they recognize the situation and I've notified Andy Lester to fix WWW::Mechanize.
Subject: Re: [rt.cpan.org #40062] perl-5.10.0-34477 + WWW-Mechanize-Shell-0.46 test fails
Date: Sun, 02 Nov 2008 15:54:19 -0600
To: bug-WWW-Mechanize-Shell [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Max Maischein via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=40062 > > > This is a problem between WWW::Mechanize 1.34+ and LWP::UserAgent 5.815+ > and has nothing to do with WWW::Mechanize::Shell. I've fixed the tests > so that they recognize the situation and I've notified Andy Lester to > fix WWW::Mechanize.
Thanks! I'll watch for changes to these and retest. -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.