Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 2880
Status: resolved
Priority: 95/
Queue: WWW-Mechanize

People
Owner: andy [...] petdance.com
Requestors: chris [...] neitzert.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.51
Fixed in: (no value)



Date: Wed, 2 Jul 2003 00:26:08 -0500
To: bug-WWW-Mechanize [...] rt.cpan.org
From: christopher neitzert <chris [...] neitzert.com>(by way of Andy Lester)
Subject: perl -CPAN -e 'install WWW::mechanize' told me to write
t/tick............ok 3/5Invalid value for shared scalar at /usr/lib/perl5/5.8.0/Test/Builder.pm line 319. WHOA! Somehow you got a different number of results than tests ran! This should never happen! Please contact the author immediately! END failed--call queue aborted. t/tick............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 4-5 Failed 2/5 tests, 60.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/tick.t 2 512 5 2 40.00% 4-5 2 tests skipped. Failed 1/23 test scripts, 95.65% okay. 2/222 subtests failed, 99.10% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force so, what do you need to know for this to be helpful? chris -- Christopher Neitzert http://www.neitzert.com/~chris 775.853.5314 - chris@neitzert.com - pgp key on request Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part
Download signature_1.asc
application/mac-binhex40 361b

Message body not shown because it is not plain text.

Subject: patch for this problem (was: perl -CPAN -e 'install WWW::mechanize')
From: T.E.Hofmann [...] gmx.de
I experienced the same problem. It seems to be some problem in connection with the stringification of a URI::file object. Changing one line in t/tick.t fixes the problem: pc03wtm:/tmp/WWW-Mechanize-0.52 > diff t/tick.t t/tick.t.old 16c16 < ok( $mech->success, "$uri" ); --- Show quoted text
> ok( $mech->success, $uri );
pc03wtm:/tmp/WWW-Mechanize-0.52 > Hth, Torsten
Version 0.53 will explicitly stringify the URI::file objects in the .t file. I hope that this will fix it up.