Subject: | Failing tests on install for mac. |
Distribution: WWW::Mechanize::Shell 0.36
$ uname -a
Darwin Kent-Cowgills-Computer.local 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25
19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386
$ perl -v
This is perl, v5.8.6 built for darwin-thread-multi-2level
$ perl -MWWW::Mechanize -le 'print $WWW::Mechanize::VERSION'
1.18
Attempting to install. There is a software package on Mac OS X called fink that will define
$ENV{HTTP_PROXY} as well as $ENV{http_proxy}. Most tests fail without either unsetting that
environment variable, or adding: "delete $ENV{http_proxy};" anywhere where "delete $ENV
{HTTP_PROXY};" exists.
Further, some tests in t/14-command-identity.t and t/26-form-no-form.t also fail. These
errors are reproduced here:
--SNIP--
t/14-command-identity.................NOK 142/302
# Failed test 'Shell moved to the specified url for get_redirect'
# in t/14-command-identity.t at line 217.
# 'http://kent-cowgills-computer.local:64770/redirect/startpage'
# doesn't match '(?-xism:(?-xism:^http://kent-cowgills-computer.local:64770/startpage))'
# get http://kent-cowgills-computer.local:64770/redirect/startpage
# eval $self->agent->uri
t/14-command-identity.................ok 231/302
t/14-command-identity.................NOK 242/302
# Failed test '2 requests were made for reload'
# in t/14-command-identity.t at line 220.
# got: '1'
# expected: '2'
t/14-command-identity.................NOK 249/302
# Failed test '3 requests were made for reload_2'
# in t/14-command-identity.t at line 220.
# got: '2'
# expected: '3'
t/14-command-identity.................ok 301/302
# Looks like you failed 3 tests of 302.
t/14-command-identity.................dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 142, 242, 249
Failed 3/302 tests, 99.01% okay
t/26-form-no-form.....................ok 1/4
# Looks like you planned 4 tests but only ran 1.
# Looks like your test died just after 1.
t/26-form-no-form.....................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
--SNIP--