Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 68461
Status: resolved
Priority: 0/
Queue: Test-WWW-Mechanize

People
Owner: Nobody in particular
Requestors: maik.hentsche [...] amd.com
Cc:
AdminCc:

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



Subject: Test "Fails to get nonexistent URI and reports failure"
Date: Wed, 25 May 2011 14:34:09 +0200
To: <bug-Test-WWW-Mechanize [...] rt.cpan.org>
From: Maik Hentsche <maik.hentsche [...] amd.com>
Hi! Installing Test-WWW-Mechanize fails during make test. I assume that the error message changed and thus does no longer match the regexp in the test. My perl version is v5.12.1 built for x86_64-linux. I get the following output: t/back_ok.t ............. 9/11 # Failed test 'Fails to get nonexistent URI and reports failure' # at t/back_ok.t line 59. # STDERR is: # # Failed test 'Try to get bad URL' # # at t/back_ok.t line 58. # # 500 # # Can't connect to wango.nonexistent.xx-only-testing:80 (Bad hostname) # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/back_ok\.t line 58.*\n?/ # # # 500 # # # Can't connect to wango.nonexistent.xx-only-testing:80 (Bad hostname 'wango.nonexistent.xx-only-testing') # # as expected t/back_ok.t ............. Failed 1/11 subtests t/click_ok.t ............ ok t/content_contains.t .... ok t/content_lacks.t ....... 2/5 # Failed test 'Handles not finding it' # at t/content_lacks.t line 40. # STDERR is: # # Failed test 'Shouldn't say it's a test page' # # at t/content_lacks.t line 39. # # searched: "<html>\x{0a} <head>\x{0a} <title>Test Page</title>"... # # and found: "Test Page" # # at position: 33 (line 3 column 16) # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/content_lacks\.t line 39.*\n?/ # # # searched: "<html>\x{0a} <head>\x{0a} <title>Test Page</title>"... # # # and found: "Test Page" # # # at position: 33 # # as expected t/content_lacks.t ....... Failed 1/5 subtests t/follow_link_ok.t ...... ok t/followable_links.t .... ok t/get_ok-parms.t ........ ok t/get_ok.t .............. 3/11 # Failed test 'Fails to get nonexistent URI and reports failure' # at t/get_ok.t line 60. # STDERR is: # # Failed test 'Try to get bad URL' # # at t/get_ok.t line 59. # # 500 # # Can't connect to wango.nonexistent.xx-only-testing:80 (Bad hostname) # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/get_ok\.t line 59.*\n?/ # # # 500 # # # Can't connect to wango.nonexistent.xx-only-testing:80 (Bad hostname 'wango.nonexistent.xx-only-testing') # # as expected t/get_ok.t .............. Failed 1/11 subtests t/has_tag.t ............. ok t/head_ok-parms.t ....... ok t/head_ok.t ............. 9/11 # Failed test 'Fails to HEAD nonexistent URI and reports failure' # at t/head_ok.t line 59. # STDERR is: # # Failed test 'Try to HEAD bad URL' # # at t/head_ok.t line 58. # # 500 # # Can't connect to wango.nonexistent.xx-only-testing:80 (Bad hostname) # # not: # /#\s+Failed\ test.*?\n?.*?at\ t\/head_ok\.t line 58.*\n?/ # # # 500 # # # Can't connect to wango.nonexistent.xx-only-testing:80 (Bad hostname 'wango.nonexistent.xx-only-testing') # # as expected t/head_ok.t ............. Failed 1/11 subtests t/html_lint_ok.t ........ skipped: HTML::Lint is not installed, cannot test html_lint_ok t/link_content.t ........ ok t/link_status.t ......... ok t/links_ok.t ............ ok t/new.t ................. ok t/page_links_content.t .. ok t/page_links_ok.t ....... ok t/pod-coverage.t ........ ok t/pod.t ................. ok t/put_ok.t .............. ok t/stuff_inputs.t ........ ok t/submit_form_ok.t ...... ok t/text_contains.t ....... ok Test Summary Report ------------------- t/back_ok.t (Wstat: 0 Tests: 11 Failed: 1) Failed test: 9 t/content_lacks.t (Wstat: 0 Tests: 5 Failed: 1) Failed test: 5 t/get_ok.t (Wstat: 0 Tests: 11 Failed: 1) Failed test: 9 t/head_ok.t (Wstat: 0 Tests: 11 Failed: 1) Failed test: 9 Files=26, Tests=203, 28 wallclock secs ( 0.15 usr 0.08 sys + 4.98 cusr 1.26 csys = 6.47 CPU) Result: FAIL Failed 4/26 test programs. 4/203 subtests failed. make: *** [test_dynamic] Fehler 255 PETDANCE/Test-WWW-Mechanize-1.30.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PETDANCE/Test-WWW-Mechanize-1.30.tar.gz Running make install make test had returned bad status, won't install without force -- Advanced Micro Devices GmbH Sitz: Dornach, Gemeinde Aschheim, Landkreis München Registergericht München, HRB Nr. 43632 - WEEE Registrierungsnummer 129 19551 Geschäftsführer: Alberto Bozzo, Andrew Bowd
Download signature.asc
application/pgp-signature 197b

Message body not shown because it is not plain text.

You're trying to install an old version of Test::WWW::Mechanize. Latest is 1.32. Also, this is not the bug reporting queue. See the docs for how to report issues.