Subject: | Test::WWW::Mechanize failing tests |
Date: | Wed, 16 May 2007 16:55:59 -0700 |
To: | bug-test-www-mechanize [...] rt.cpan.org |
From: | Jeff Chimene <jchimene [...] gmail.com> |
Module Name Local CPAN
-------------------------------------------------------------------------
Test::WWW::Mechanize 1.1200 1.1400
# cpan
CPAN: File::HomeDir loaded ok (v0.65)
cpan shell -- CPAN exploration and modules installation (v1.9102)
ReadLine support enabled
cpan[1]> upgrade
CPAN: Storable loaded ok (v2.16)
Going to read /root/.cpan/Metadata
Database was generated on Wed, 16 May 2007 22:11:34 GMT
Package namespace installed latest in CPAN file
Test::WWW::Mechanize 1.12 1.14
PETDANCE/Test-WWW-Mechanize-1.14.tar.gz
1328 installed modules have no parseable version number
Running install for module 'Test::WWW::Mechanize'
Running make for P/PE/PETDANCE/Test-WWW-Mechanize-1.14.tar.gz
CPAN: Digest::SHA loaded ok (v5.44)
CPAN: Compress::Zlib loaded ok (v2.004)
Checksum for
/root/.cpan/sources/authors/id/P/PE/PETDANCE/Test-WWW-Mechanize-1.14.tar.gz
ok
Scanning cache /root/.cpan/build for sizes
...........................-------------------------------------------------DONE
Test-WWW-Mechanize-1.14/
Test-WWW-Mechanize-1.14/Changes
Test-WWW-Mechanize-1.14/Makefile.PL
Test-WWW-Mechanize-1.14/MANIFEST
Test-WWW-Mechanize-1.14/Mechanize.pm
Test-WWW-Mechanize-1.14/META.yml
Test-WWW-Mechanize-1.14/README
Test-WWW-Mechanize-1.14/t/
Test-WWW-Mechanize-1.14/t/00load.t
Test-WWW-Mechanize-1.14/t/content_contains.t
Test-WWW-Mechanize-1.14/t/content_lacks.t
Test-WWW-Mechanize-1.14/t/follow_link_ok.t
Test-WWW-Mechanize-1.14/t/followable_links.t
Test-WWW-Mechanize-1.14/t/get_ok-parms.t
Test-WWW-Mechanize-1.14/t/get_ok.t
Test-WWW-Mechanize-1.14/t/has_tag.t
Test-WWW-Mechanize-1.14/t/html/
Test-WWW-Mechanize-1.14/t/html/badlinks.html
Test-WWW-Mechanize-1.14/t/html/form.html
Test-WWW-Mechanize-1.14/t/html/goodlinks.html
Test-WWW-Mechanize-1.14/t/html/manylinks.html
Test-WWW-Mechanize-1.14/t/link_content.t
Test-WWW-Mechanize-1.14/t/link_status.t
Test-WWW-Mechanize-1.14/t/links_ok.t
Test-WWW-Mechanize-1.14/t/new.t
Test-WWW-Mechanize-1.14/t/page_links_content.t
Test-WWW-Mechanize-1.14/t/page_links_ok.t
Test-WWW-Mechanize-1.14/t/pod-coverage.t
Test-WWW-Mechanize-1.14/t/pod.t
Test-WWW-Mechanize-1.14/t/stuff_inputs.t
CPAN: File::Temp loaded ok (v0.18)
CPAN.pm: Going to build P/PE/PETDANCE/Test-WWW-Mechanize-1.14.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Test::WWW::Mechanize
cp Mechanize.pm blib/lib/Test/WWW/Mechanize.pm
Manifying blib/man3/Test::WWW::Mechanize.3pm
PETDANCE/Test-WWW-Mechanize-1.14.tar.gz
/usr/bin/make CC=/usr/bin/gcc LD=/usr/bin/gcc CC=/usr/bin/gcc
LD=/usr/bin/gcc -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00load................# Testing Test::WWW::Mechanize 1.14, Perl
5.008008, /usr/bin/perl
t/00load................ok
t/content_contains......NOK 4/5
# Failed test 'Finds the contains'
# at t/content_contains.t line 31.
# STDOUT is:
# not ok 1 - Does it say test page?
#
# not:
# ok 1 - Does it say test page?
#
# as expected
# STDERR is:
# # Failed test 'Does it say test page?'
# # at t/content_contains.t line 30.
# # searched: "500 Can't connect to localhost:13432 (connect: Con"...
# # can't find: "Test Page"
#
# not:
#
# as expected
t/content_contains......NOK 5/5
# Failed test 'Handles not finding it'
# at t/content_contains.t line 39.
# STDERR is:
# # Failed test 'Where is Mungo?'
# # at t/content_contains.t line 38.
# # searched: "500 Can't connect to localhost:13432 (connect: Con"...
# # can't find: "Mungo"
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/content_contains\.t line 38.*\n?/
#
# # searched: "<html>\x{0a} <head>\x{0a} <title>Test
Page</title>\x{0a} </h"...
#
# # can't find: "Mungo"
#
# as expected
t/content_contains......FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/content_lacks.........ok
t/follow_link_ok........ok
t/followable_links......NOK 4/4
# Failed test 'Got the right links'
# at t/followable_links.t line 40.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'http://localhost:13432/goodlinks.html'
# Looks like you failed 1 test of 4.
t/followable_links......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 4
Failed 1/4 tests, 75.00% okay
t/get_ok-parms..........ok
t/get_ok................ok
t/has_tag...............ok
t/link_content..........NOK 6/9
# Failed test 'Handles link content not found'
# at t/link_content.t line 48.
# STDOUT is:
# ok 1 - Checking all page link content failures
#
# not:
# not ok 1 - Checking all page link content failures
#
# as expected
# STDERR is:
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/link_content\.t line 47.*\n?/
#
# # goodlinks.html
#
# # badlinks.html
#
# # goodlinks.html
#
# as expected
t/link_content..........NOK 9/9
# Failed test 'Handles link unlike content found'
# at t/link_content.t line 68.
# STDOUT is:
# ok 1 - Checking all page link unlike content failures
#
# not:
# not ok 1 - Checking all page link unlike content failures
#
# as expected
# STDERR is:
#
# not:
# /#\s+Failed\ test.*?\n?.*?at\ t\/link_content\.t line 67.*\n?/
#
# # goodlinks.html
#
# # badlinks.html
#
# # goodlinks.html
#
# as expected
t/link_content..........FAILED tests 6, 9
Failed 2/9 tests, 77.78% okay
t/link_status...........ok
t/links_ok..............ok
t/new...................ok
t/page_links_content....ok
t/page_links_ok.........ok
t/pod-coverage..........ok
t/pod...................ok
t/stuff_inputs..........ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/content_contains.t 5 2 4-5
t/followable_links.t 1 256 4 1 4
t/link_content.t 9 2 6 9
Failed 3/17 test scripts. 5/106 subtests failed.
Files=17, Tests=106, 38 wallclock secs ( 3.96 cusr + 0.42 csys = 4.38 CPU)
Failed 3/17 test programs. 5/106 subtests failed.
make: *** [test_dynamic] Error 255
PETDANCE/Test-WWW-Mechanize-1.14.tar.gz
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
PETDANCE/Test-WWW-Mechanize-1.14.tar.gz : make_test NO