Skip Menu |

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

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

People
Owner: corion [...] cpan.org
Requestors: mark [...] summersault.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.21
Fixed in: (no value)



Subject: tests 10 and 13 failing
Hello, I just installed ::Shell on Mac OS X, with a fresh install of Perl 5.8.0. A couple of the "make test" tests are failing. Here's the output: ##### t/10-nonexistent-host..............NOK 2# Failed test (t/10-nonexistent-host.t at line 23) # '' # doesn't match '/^Can't locate object method "host"/' # Looks like you failed 1 tests of 2. t/10-nonexistent-host..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 2 Failed 1/2 tests, 50.00% okay t/11-browse-without-request........ok t/12-comments......................ok t/13-command-au....................ok 5/7Can't locate object method "req" via package "WWW::Mechanize" at /Volumes/X1/Users/mark/.cpan/build/WWW-Mechanize-Shell-0.21/blib/lib/WWW/Mechanize/Shell.pm line 1003, <SERVER> line 1. ################### I'm not sure what's wrong in the first case. In the second, I think "req" may have been removed from WWW::Mechanize.
From: "Max Maischein" <corion [...] corion.net>
To: <bug-WWW-Mechanize-Shell [...] rt.cpan.org>
Subject: Re: [cpan #2687] tests 10 and 13 failing
Date: Thu, 29 May 2003 20:38:55 +0200
RT-Send-Cc:
Hello, Show quoted text
> I just installed ::Shell on Mac OS X, with a fresh install of Perl 5.8.0.
A couple of the "make test" tests are failing. Here's the output: Show quoted text
> > t/10-nonexistent-host..............NOK 2# Failed test
(t/10-nonexistent-host.t at line 23) Show quoted text
> # '' > # doesn't match '/^Can't locate object method "host"/' > # Looks like you failed 1 tests of 2. > t/10-nonexistent-host..............dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 2 > Failed 1/2 tests, 50.00% okay > t/11-browse-without-request........ok > t/12-comments......................ok > t/13-command-au....................ok 5/7Can't locate object method "req"
via package "WWW::Mechanize" at /Volumes/X1/Users/mark/.cpan/build/WWW-Mechanize-Shell-0.21/blib/lib/WWW/Mec hanize/Shell.pm line 1003, <SERVER> line 1. Show quoted text
> > ################### > > I'm not sure what's wrong in the first case. In the second, I think "req"
may have been removed from WWW::Mechanize. Yes - WWW::Mechanize v0.42 is incompatible with the current CPAN release of WWW::Mechanize::Shell. The tests are failing due to changes in WWW::Mechanize v0.42, one of which I consider as bug, closed in v0.43. With WWW::Mechanize v0.43 and WWW::Mechanize::Shell v0.22 (get it from http://www.corion.net/perl-dev until the official CPAN release), the bug and incompatibilities are removed, although W::M::S v0.22 will only work with WWW::Mechanize v0.43 onwards. -max