Subject: | get_ok.t test fails |
Having problems installing Test::WWW::Mechanize b/c of a failing test:
# perl -T -Iblib/lib t/get_ok.t
1..11
ok 1 - use Test::WWW::Mechanize;
ok 2 - HTTP Server started
HTTP::Server::Simple: You can connect to your server at
http://localhost:13432/
ok 3 - The object isa Test::WWW::Mechanize
ok 4 - sanity check: we can load goodlinks.html
ok 5 - Gets existing URI and reports success
ok 6 - get_ok() should only return a scalar
ok 7 - And the result should be true
not ok 8 - sanity check: we can't load NONEXISTENT.html
# Failed test 'sanity check: we can't load NONEXISTENT.html'
# in t/get_ok.t at line 43.
not ok 9 - Fails to get nonexistent URI and reports failure
# Failed test 'Fails to get nonexistent URI and reports failure'
# in t/get_ok.t at line 50.
# STDOUT is:
# ok 1 - Try to get bad URL
#
# not:
# not ok 1 - Try to get bad URL
#
# as expected
# STDERR is:
#
# not:
# (?-xism:#\s+Failed\ test.*?\n?.*?t\/get_ok\.t at line 49.*\n?)
# # 500
#
# # Can't connect to wango.nonexistent.xx-only-testing:80 (Bad hostname
'wango.nonexistent.xx-only-testing')
#
# as expected
ok 10 - get_ok() should only return a scalar
not ok 11 - And the result should be false
# Failed test 'And the result should be false'
# in t/get_ok.t at line 53.