Start 2008-11-26T06:05:44 Going to read /home/cpanfly/var/cpan/Metadata Database was generated on Wed, 26 Nov 2008 12:26:53 GMT Running make for P/PE/PETDANCE/WWW-Mechanize-1.52.tar.gz Checksum for /net/nas/data/cpan/authors/id/P/PE/PETDANCE/WWW-Mechanize-1.52.tar.gz ok WWW-Mechanize-1.52/ WWW-Mechanize-1.52/bin/ WWW-Mechanize-1.52/bin/mech-dump WWW-Mechanize-1.52/Changes WWW-Mechanize-1.52/etc/ WWW-Mechanize-1.52/etc/www-mechanize-logo.png WWW-Mechanize-1.52/lib/ WWW-Mechanize-1.52/lib/WWW/ WWW-Mechanize-1.52/lib/WWW/Mechanize/ WWW-Mechanize-1.52/lib/WWW/Mechanize/Cookbook.pod WWW-Mechanize-1.52/lib/WWW/Mechanize/Examples.pod WWW-Mechanize-1.52/lib/WWW/Mechanize/FAQ.pod WWW-Mechanize-1.52/lib/WWW/Mechanize/Image.pm WWW-Mechanize-1.52/lib/WWW/Mechanize/Link.pm WWW-Mechanize-1.52/lib/WWW/Mechanize.pm WWW-Mechanize-1.52/Makefile.PL WWW-Mechanize-1.52/MANIFEST WWW-Mechanize-1.52/META.yml WWW-Mechanize-1.52/perlcriticrc WWW-Mechanize-1.52/t/ WWW-Mechanize-1.52/t/00-load.t WWW-Mechanize-1.52/t/add_header.t WWW-Mechanize-1.52/t/aliases.t WWW-Mechanize-1.52/t/area_link.html WWW-Mechanize-1.52/t/area_link.t WWW-Mechanize-1.52/t/autocheck.t WWW-Mechanize-1.52/t/clone.t WWW-Mechanize-1.52/t/cookies.t WWW-Mechanize-1.52/t/credentials-api.t WWW-Mechanize-1.52/t/credentials.t WWW-Mechanize-1.52/t/die.t WWW-Mechanize-1.52/t/field.html WWW-Mechanize-1.52/t/field.t WWW-Mechanize-1.52/t/find_frame.html WWW-Mechanize-1.52/t/find_frame.t WWW-Mechanize-1.52/t/find_image.t WWW-Mechanize-1.52/t/find_inputs.html WWW-Mechanize-1.52/t/find_inputs.t WWW-Mechanize-1.52/t/find_link-warnings.t WWW-Mechanize-1.52/t/find_link.html WWW-Mechanize-1.52/t/find_link.t WWW-Mechanize-1.52/t/find_link_id.html WWW-Mechanize-1.52/t/find_link_id.t WWW-Mechanize-1.52/t/form-parsing.t WWW-Mechanize-1.52/t/frames.html WWW-Mechanize-1.52/t/frames.t WWW-Mechanize-1.52/t/google.html WWW-Mechanize-1.52/t/image-new.t WWW-Mechanize-1.52/t/image-parse.html WWW-Mechanize-1.52/t/image-parse.t WWW-Mechanize-1.52/t/lib/ WWW-Mechanize-1.52/t/lib/TestServer.pm WWW-Mechanize-1.52/t/link-base.t WWW-Mechanize-1.52/t/link-relative.t WWW-Mechanize-1.52/t/link.t WWW-Mechanize-1.52/t/live/ WWW-Mechanize-1.52/t/live/computers4sure.t WWW-Mechanize-1.52/t/live/encoding.t WWW-Mechanize-1.52/t/live/wikipedia.t WWW-Mechanize-1.52/t/local/ WWW-Mechanize-1.52/t/local/back.t WWW-Mechanize-1.52/t/local/click.t WWW-Mechanize-1.52/t/local/click_button.t WWW-Mechanize-1.52/t/local/failure.t WWW-Mechanize-1.52/t/local/follow.t WWW-Mechanize-1.52/t/local/form.t WWW-Mechanize-1.52/t/local/get.t WWW-Mechanize-1.52/t/local/LocalServer.pm WWW-Mechanize-1.52/t/local/log-server WWW-Mechanize-1.52/t/local/overload.t WWW-Mechanize-1.52/t/local/page_stack.t WWW-Mechanize-1.52/t/local/referer-server WWW-Mechanize-1.52/t/local/referer.t WWW-Mechanize-1.52/t/local/reload.t WWW-Mechanize-1.52/t/local/submit.t WWW-Mechanize-1.52/t/mech-dump/ WWW-Mechanize-1.52/t/mech-dump/mech-dump.t WWW-Mechanize-1.52/t/new.t WWW-Mechanize-1.52/t/pod-coverage.t WWW-Mechanize-1.52/t/pod.t WWW-Mechanize-1.52/t/regex-error.t WWW-Mechanize-1.52/t/save_content.t WWW-Mechanize-1.52/t/select.html WWW-Mechanize-1.52/t/select.t WWW-Mechanize-1.52/t/taint.t WWW-Mechanize-1.52/t/tick.html WWW-Mechanize-1.52/t/tick.t WWW-Mechanize-1.52/t/upload.html WWW-Mechanize-1.52/t/upload.t WWW-Mechanize-1.52/t/warn.t WWW-Mechanize-1.52/t/warnings.t CPAN.pm: Going to build P/PE/PETDANCE/WWW-Mechanize-1.52.tar.gz >>> /home/cpanfly/ap1003/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for WWW::Mechanize >>> make cp lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/Examples.pod cp lib/WWW/Mechanize/Link.pm blib/lib/WWW/Mechanize/Link.pm cp lib/WWW/Mechanize/Image.pm blib/lib/WWW/Mechanize/Image.pm cp lib/WWW/Mechanize/FAQ.pod blib/lib/WWW/Mechanize/FAQ.pod cp lib/WWW/Mechanize/Cookbook.pod blib/lib/WWW/Mechanize/Cookbook.pod cp lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize.pm cp bin/mech-dump blib/script/mech-dump /home/cpanfly/ap1003/bin/perl-static "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mech-dump Manifying blib/man1/mech-dump.1 Manifying blib/man3/WWW::Mechanize::Link.3 Manifying blib/man3/WWW::Mechanize::Examples.3 Manifying blib/man3/WWW::Mechanize::Image.3 Manifying blib/man3/WWW::Mechanize::Cookbook.3 Manifying blib/man3/WWW::Mechanize::FAQ.3 Manifying blib/man3/WWW::Mechanize.3 PETDANCE/WWW-Mechanize-1.52.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/cpanfly/ap1003/bin/perl-static "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/00-load.t t/add_header.t t/aliases.t t/area_link.t t/autocheck.t t/clone.t t/cookies.t t/credentials-api.t t/credentials.t t/die.t t/field.t t/find_frame.t t/find_image.t t/find_inputs.t t/find_link-warnings.t t/find_link.t t/find_link_id.t t/form-parsing.t t/frames.t t/image-new.t t/image-parse.t t/link-base.t t/link-relative.t t/link.t t/new.t t/pod-coverage.t t/pod.t t/regex-error.t t/save_content.t t/select.t t/taint.t t/tick.t t/upload.t t/warn.t t/warnings.t t/local/back.t t/local/click.t t/local/click_button.t t/local/failure.t t/local/follow.t t/local/form.t t/local/get.t t/local/overload.t t/local/page_stack.t t/local/referer.t t/local/reload.t t/local/submit.t t/live/computers4sure.t t/live/encoding.t t/live/wikipedia.t t/mech-dump/mech-dump.t t/00-load................ 1..2 ok 1 - use WWW::Mechanize; ok 2 - use WWW::Mechanize::Link; # Testing WWW::Mechanize 1.52, with LWP 5.821, Perl 5.010000, /home/cpanfly/ap1003/bin/perl-static ok t/add_header............. 1..4 ok 1 - use WWW::Mechanize; ok 2 - Created agent isa WWW::Mechanize ok 3 - Referer's in there ok 4 - Referer's not there ok t/aliases................ 1..8 ok 1 - use WWW::Mechanize; ok 2 - All aliases accounted for ok 3 - We only know Mac, Windows or Linux ok 4 - We only know Mac, Windows or Linux ok 5 - We only know Mac, Windows or Linux ok 6 - We only know Mac, Windows or Linux ok 7 - We only know Mac, Windows or Linux ok 8 - We only know Mac, Windows or Linux ok t/area_link.............. 1..9 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/area_link.html ok 4 - Correct links came back ok 5 - Correct links came back ok 6 - Link list: no cycles ok 7 - Single link: no cycles ok 8 - URI: no cycles ok 9 - Mech: no cycles ok t/autocheck.............. 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Didn't fetch, but didn't die, either ok 4 - The object isa WWW::Mechanize ok 5 - Mech would die 4 u ok t/clone.................. 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - The object isa WWW::Mechanize ok 4 - Cookie jar contents are the same ok 5 - Adding cookies adds to both jars ok t/cookies................ 1..14 # Server now running on port 8080, pid 1386 ok 1 - The object isa WWW::Mechanize ok 2 - First fetch works ok 3 - First cookie matches ok 4 - Right title ok 5 - Second fetch works ok 6 - Second cookie matches ok 7 - Right title ok 8 - Cookie did not change... ok 9 - ... but back to the first page title ok 10 - Cookie did not change... ok 11 - On the proper 3rd page ok 12 - Got the third cookie ok 13 - Title is correct ok 14 - Signaled the child process ok t/credentials-api........ 1..4 ok 1 - LWP::UserAgent instance retains its old credentials ok 2 - First instance retains its credentials ok 3 - Second instance retains its credentials ok 4 - Untouched instance retains its credentials ok t/credentials............ 1..12 ok 1 - default username is undefined at first ok 2 - default password is undefined at first ok 3 - calling credentials sets username for get_basic_credentials ok 4 - calling credentials sets password for get_basic_credentials ok 5 - cloned object has username for get_basic_credentials ok 6 - cloned object has password for get_basic_credentials ok 7 - new object has no username for get_basic_credentials ok 8 - new object has no password for get_basic_credentials ok 9 - username is undefined after clear_credentials ok 10 - password is undefined after clear_credentials ok 11 - cloned object still has username for get_basic_credentials ok 12 - cloned object still has password for get_basic_credentials ok t/die.................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Expecting to die ok 4 - The object isa WWW::Mechanize ok 5 - Expecting to die ok t/field.................. 1..8 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/field.html ok 4 - dingo got changed ok 5 - dingo changed ok 6 - bongo changed ok 7 - wango changed ok 8 - dingo changed ok t/find_frame............. 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/find_frame.html ok 4 - The object isa WWW::Mechanize::Link ok 5 - First link sequentially ok t/find_image............. 1..17 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/image-parse.html ok 4 - survived eval ok 5 - Exactly three images ok 6 - Got the first image ok 7 - img tag ok 8 ok 9 - Got the second image ok 10 - input tag ok 11 - alt ok 12 - height ok 13 - width ok 14 - Got the third image ok 15 - input tag ok 16 - alt ok 17 ok t/find_inputs............ 1..11 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/find_inputs.html ok 4 - Exactly three inputs ok 5 - Exactly two submits ok 6 - Exactly four inputs ok 7 - Exactly one submit ok 8 - Exactly five inputs ok 9 - Found four relatives ok 10 - Found two sisters ok 11 - But no sisters are submits ok t/find_link-warnings..... 1..19 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/find_link.html ok 4 - detected usage error: TEXT => 'string' ok 5 - detected usage error: NAME => 'string' ok 6 - detected usage error: URL => 'string' ok 7 - detected usage error: TAG => 'string' ok 8 - detected usage error: text_regex => 'string' ok 9 - detected usage error: name_regex => 'string' ok 10 - detected usage error: url_regex => 'string' ok 11 - detected usage error: tag_regex => 'string' ok 12 - detected usage error: text => Regex ok 13 - detected usage error: name => Regex ok 14 - detected usage error: url => Regex ok 15 - detected usage error: tag => Regex ok 16 - detected usage error: text => padded-string ok 17 - detected usage error: name => padded-string ok 18 - detected usage error: url => padded-string ok 19 - detected usage error: tag => padded-string ok t/find_link.............. 1..62 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/find_link.html ok 4 - The object isa WWW::Mechanize::Link ok 5 - First link on the page ok 6 - First link on the page ok 7 - The object isa WWW::Mechanize::Link ok 8 - Third link should be the CSS ok 9 - Third link should be the CSS ok 10 - The object isa WWW::Mechanize::Link ok 11 - found link in uppercase meta tag ok 12 - The object isa WWW::Mechanize::Link ok 13 - First CPAN link ok 14 - First CPAN link ok 15 - No url matching CPAN ok 16 - The object isa WWW::Mechanize::Link ok 17 - 3rd CPAN text ok 18 - 3rd CPAN text ok 19 - No 34th CPAN text ok 20 - The object isa WWW::Mechanize::Link ok 21 - Got 1st cpan via regex ok 22 - Got 1st cpan via regex ok 23 - The object isa WWW::Mechanize::Link ok 24 - Got 1st cpan via regex ok 25 - Got 1st cpan via regex ok 26 - No 153rd cpan link ok 27 - The object isa WWW::Mechanize::Link ok 28 - Got b.cpan.org ok 29 - Got b.cpan.org ok 30 - Not a second b.cpan.org ok 31 - The object isa WWW::Mechanize::Link ok 32 - Got c.cpan.org ok 33 - Got c.cpan.org ok 34 - Correct links came back ok 35 - Correct links came back ok 36 - The object isa WWW::Mechanize::Link ok 37 - First News is MSNBC ok 38 - First News is MSNBC ok 39 - The object isa WWW::Mechanize::Link ok 40 - First BBC news link ok 41 - First BBC news link ok 42 - First BBC news text ok 43 - First BBC news text ok 44 - The object isa WWW::Mechanize::Link ok 45 - First CNN news link ok 46 - First CNN news link ok 47 - First CNN news text ok 48 - First CNN news text ok 49 - Correct links came back ok 50 - The object isa WWW::Mechanize::Link ok 51 - Got the CPAN C link ok 52 - The object isa WWW::Mechanize::Link ok 53 - Got 2nd link that begins with a capital ok 54 - The object isa WWW::Mechanize::Link ok 55 - Got 3rd tag ok 56 - The object isa WWW::Mechanize::Link ok 57 - Got 7th or tag ok 58 - The object isa WWW::Mechanize::Link ok 59 - Got the JavaScript link ok 60 - The object isa WWW::Mechanize::Link ok 61 - No match ok 62 - The object isa WWW::Mechanize::Link ok t/find_link_id........... ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/find_link_id.html ok 4 - The object isa WWW::Mechanize::Link ok 5 - found link with given ID ok 6 - The object isa WWW::Mechanize::Link ok 7 - found link within "iframe" with given class ok 8 - The object isa WWW::Mechanize::Link ok 9 - found link with ID matching a regex ok 10 - The object isa WWW::Mechanize::Link ok 11 - found link with class matching a regex 1..11 ok t/form-parsing........... 1..1 ok 1 - Find one form, please ok t/frames................. 1..7 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/frames.html ok 4 - The object isa WWW::Mechanize::Link ok 5 - Only two links ok 6 - First frame OK ok 7 - Second frame OK ok t/image-new.............. 1..10 ok 1 - use WWW::Mechanize::Image; ok 2 - url() works ok 3 - base() works ok 4 - name() works ok 5 - alt() works ok 6 - tag() works ok 7 - height works ok 8 - width works ok 9 - url_abs works ok 10 - Returns an object isa URI::URL ok t/image-parse............ 1..15 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/image-parse.html ok 4 - Only two images ok 5 - img tag ok 6 - URL matches ok 7 - alt matches ok 8 - input tag ok 9 - URL matches ok 10 - alt matches ok 11 - height ok 12 - width ok 13 - Got the third image ok 14 - input tag ok 15 - alt ok t/link-base.............. 1..5 ok 1 - use WWW::Mechanize::Link; ok 2 - constructor OK isa WWW::Mechanize::Link ok 3 - URI is proper type isa URI::URL ok 4 - Short form of the url ok 5 - url_abs works ok t/link-relative.......... 1..6 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/image-parse.html ok 4 - Fetch select.html, no directory ok 5 - Fetch select.html from ./ ok 6 - Fetched click.t ok t/link................... 1..23 ok 1 - use WWW::Mechanize::Link; ok 2 - The object isa WWW::Mechanize::Link ok 3 - Should have five elements ok 4 - url() works ok 5 - text() works ok 6 - name() works ok 7 - tag() works ok 8 - base() works ok 9 - attrs() works ok 10 - parm 0 is url ok 11 - parm 1 is text ok 12 - parm 2 is name ok 13 - parm 3 is tag ok 14 - parm 4 is base ok 15 - URI is proper type isa URI::URL ok 16 - Short form of the url ok 17 - url_abs works ok 18 - url() works ok 19 - text() works ok 20 - name() works ok 21 - tag() works ok 22 - base() works ok 23 - attrs() works ok t/live/computers4sure.... 1..9 ok 1 - use WWW::Mechanize; ok 2 - Created object isa WWW::Mechanize ok 3 - Fetched http://www.computers4sure.com/ ok 4 - Found a likely word in the first page ok 5 - Should have lots of product links ok 6 - The object isa WWW::Mechanize::Link ok 7 - Fetched http://www.Computers4sure.com/product.asp?productid=3452797 ok 8 - Found a likely phrase in the second page ok 9 - No memory cycles found ok t/live/encoding.......... 1..13 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched http://delicious.com/ ok 4 - ... Got encoding utf-8 ok 5 - Got back UTF-8 ok 6 - The object isa WWW::Mechanize ok 7 - Fetched http://oops-music.com/ ok 8 - ... Got encoding EUC-JP ok 9 - Got back UTF-8 ok 10 - The object isa WWW::Mechanize ok 11 - Fetched http://www.liveinternet.ru/users/dashdi/blog ok 12 - ... Got encoding cp1251 ok 13 - Got back UTF-8 ok t/live/wikipedia......... 1..15 ok 1 - use WWW::Mechanize; ok 2 - Created object isa WWW::Mechanize ok 3 - Got http://en.wikipedia.org/ ok 4 - Over 50 links on http://en.wikipedia.org/ ok 5 - Got http://it.wikipedia.org/ ok 6 - Over 50 links on http://it.wikipedia.org/ ok 7 - Got http://ja.wikipedia.org/ ok 8 - Over 50 links on http://ja.wikipedia.org/ ok 9 - Got http://es.wikipedia.org/ ok 10 - Over 50 links on http://es.wikipedia.org/ ok 11 - Got http://nl.wikipedia.org/ ok 12 - Over 50 links on http://nl.wikipedia.org/ ok 13 - Got http://pl.wikipedia.org/ ok 14 - Over 50 links on http://pl.wikipedia.org/ ok 15 - No memory cycles found ok t/local/back............. 1..47 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - this $mech starts with a cookie jar isa HTTP::Cookies # Started http://localhost:42748/ ok 4 - The object isa LocalServer ok 5 - With no stack, no going back ok 6 - Fetched OK ok 7 - Followed OK ok 8 - Back should succeed ok 9 - Did the base get set back? ok 10 - Title set back? ok 11 - Followed OK ok 12 - Back should succeed ok 13 - Did the base get set back? ok 14 - Title set back? ok 15 - Pre-search check ok 16 - Searched for Perl ok 17 - Right page title ok 18 - POST is in the stack ok 19 - HEAD succeeded ok 20 - HEAD is not in the stack ok 21 - Back should succeed ok 22 - Back ok 23 - Did the base get set back? ok 24 - Title set back? ok 25 - Post-search check ok 26 - Back should succeed ok 27 - reload() does not push page to stack ok 28 - $mech still has a cookie jar after a number of back() ok 29 - No memory cycles found ok 30 - The object isa WWW::Mechanize ok 31 - Got root URL ok 32 - Pre-404 check ok 33 - 404 check ok 34 - Even 404s get on the stack ok 35 - Back should succeed ok 36 - Back from the 404 ok 37 - Post-404 check ok 38 - Get /scripts ok 39 - Back should succeed ok 40 - Back from /scripts ok 41 - Get /ports/ ok 42 - Back should succeed ok 43 - Back from /ports/ ok 44 - Get modules/ ok 45 - Back should succeed ok 46 - Back from modules/ ok 47 - No memory cycles found ok t/local/click............ 1..9 ok 1 - use WWW::Mechanize; ok 2 - Created the object isa WWW::Mechanize # Started http://localhost:42763/ ok 3 - The object isa LocalServer ok 4 - Got back a response isa HTTP::Response ok 5 - Got URL ok 6 - Local page is HTML ok 7 - Got back a response isa HTTP::Response ok 8 - Can click 'Go' ('Google Search' button) ok 9 - Filled field correctly ok t/local/click_button..... 1..19 ok 1 - use WWW::Mechanize; ok 2 - Created the object isa WWW::Mechanize # Started http://localhost:42767/ ok 3 - The object isa LocalServer ok 4 - Got back a response isa HTTP::Response ok 5 - Got URL ok 6 - Local page is HTML ok 7 - Clicking on button by number ok 8 - Correct button was pressed ok 9 - Parameters got transmitted OK ok 10 - Button number out of range ok 11 - Clicking on button by name ok 12 - Correct button was pressed ok 13 - Parameters got transmitted OK ok 14 - Button name unknown ok 15 - Found the submit button isa HTML::Form::Input # TODO It seems that calling ->click() on an object is broken in LWP. Need to investigate further. ok 16 - Named the right thing, too # TODO It seems that calling ->click() on an object is broken in LWP. Need to investigate further. # $VAR1 = bless( { # '_content' => '', # '_headers' => bless( { # 'accept-encoding' => 'gzip', # 'referer' => 'http://localhost:42767/', # 'user-agent' => 'WWW-Mechanize/1.52' # }, 'HTTP::Headers' ), # '_method' => 'GET', # '_uri' => bless( do{\(my $o = 'http://localhost:42767/formsubmit?session=1&query=(empty)&cat=cat_foo&cat=cat_bar&upload=')}, 'URI::http' ), # '_uri_canonical' => $VAR1->{'_uri'} # }, 'HTTP::Request' ); ok 17 - Clicking on button by object reference # TODO It seems that calling ->click() on an object is broken in LWP. Need to investigate further. not ok 18 - Correct button was pressed # TODO It seems that calling ->click() on an object is broken in LWP. Need to investigate further. # Failed (TODO) test 'Correct button was pressed' # at t/local/click_button.t line 63. # 'http://localhost:42767/formsubmit?session=1&query=(empty)&cat=cat_foo&cat=cat_bar&upload=' # doesn't match '(?-xism:submit=Go)' ok 19 - Parameters got transmitted OK # TODO It seems that calling ->click() on an object is broken in LWP. Need to investigate further. ok t/local/failure.......... 1..15 ok 1 - use WWW::Mechanize; # Started http://localhost:42773/ ok 2 - The object isa LocalServer ok 3 - Created object isa WWW::Mechanize ok 4 - The object isa HTTP::Response ok 5 - Success ok 6 - Get webpage ok 7 - It's HTML ok 8 - Correct title ok 9 - 10 links, please ok 10 - Two form ok 11 - Failed the fetch ok 12 - Isn't HTML ok 13 - No title ok 14 - No links ok 15 - No forms ok t/local/follow........... 1..21 ok 1 - use WWW::Mechanize; # Started http://localhost:42776/ ok 2 - The object isa LocalServer ok 3 - Created object isa WWW::Mechanize ok 4 - Got some page ok 5 - Got local server page ok 6 - Can't follow too-high-numbered link ok 7 - Can follow first link ok 8 - Need to be on a separate page ok 9 - Can go back ok 10 - Back at the first page ok 11 - Can't follow unlikely named link ok 12 - Can follow obvious named link ok 13 - Need to be on a separate page ok 14 - Can still go back ok 15 - Can follow link with o-umlaut ok 16 - Need to be on a separate page ok 17 - Can still go back ok 18 - Can follow link with o-umlaut, when it's encoded in the HTML, but not in "follow" ok 19 - Need to be on a separate page ok 20 - Can still go back ok 21 - Back at the start page again ok t/local/form............. 1..13 ok 1 - use WWW::Mechanize; # Started http://localhost:42783/ ok 2 - The object isa LocalServer ok 3 - The object isa WWW::Mechanize ok 4 - Got a page ok 5 - Got page ok 6 - Can select the first form isa HTML::Form ok 7 - Set the form attribute ok 8 - cannot select the 99th form ok 9 - Form is still set to 1 ok 10 - Can select the form isa HTML::Form ok 11 - cannot select non-existent form ok 12 - Can select the form isa HTML::Form ok 13 - cannot select non-existent form ok t/local/get.............. 1..32 ok 1 - use WWW::Mechanize; # Started http://localhost:42786/ ok 2 - The object isa LocalServer ok 3 - Created object isa WWW::Mechanize ok 4 - The object isa HTTP::Response ok 5 - The object isa HTTP::Response ok 6 - Page read OK ok 7 - Get webpage ok 8 - Got the content-type... ok 9 - ... and the is_html wrapper ok 10 - Titles match ok 11 - Got the /foo ok 12 - Got relative OK ok 13 - Got HTML back ok 14 - Got the right page ok 15 - Got the /bar page ok 16 - Got relative OK ok 17 - is HTML ok 18 - Got the right page ok 19 - Got the basics page ok 20 - Got relative OK ok 21 - is HTML ok 22 - Title matches ok 23 - Got the right page ok 24 - Got the "refine search" page ok 25 - Got relative OK ok 26 - is HTML ok 27 - Title matches ok 28 - Got the right page ok 29 - tempfile not there right now ok 30 - File exists ok 31 - Did all the bytes get saved? ok 32 - Mech: no cycles ok t/local/overload......... 1..0 # Skip Mysteriously stopped passing, and I don't know why. skipped: Mysteriously stopped passing, and I don't know why. t/local/page_stack....... 1..16 ok 1 - use WWW::Mechanize; # Started http://localhost:42794/ ok 2 - The object isa LocalServer ok 3 - Created object isa WWW::Mechanize ok 4 - Page stack starts empty ok 5 - Got start page ok 6 - Page stack starts empty ok 7 - Pushed item onto page stack ok 8 - Pushed item onto page stack ok 9 - Popped item from page stack ok 10 - Popped item from page stack ok 11 - Cannot pop beyond end of page stack ok 12 - Created object isa WWW::Mechanize ok 13 - Page stack starts empty ok 14 - Got start page ok 15 - Page stack starts empty ok 16 - Pushing has no effect ok t/local/referer.......... 1..13 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Got first page ok 4 - First page gets sent with empty referrer ok 5 - Got second page ok 6 - Referer got sent for absolute url ok 7 - Got third page ok 8 - Referer got sent for relative url ok 9 - Got fourth page ok 10 - Referer can be set to empty again ok 11 - Got fourth page ok 12 - Custom referer can be set ok 13 - No memory cycles found ok t/local/reload........... 1..14 ok 1 - use WWW::Mechanize; # Started http://localhost:42804/ ok 2 - The object isa LocalServer ok 3 - Created object isa WWW::Mechanize ok 4 - Initial reload should fail ok 5 - The object isa HTTP::Response ok 6 - Get google webpage ok 7 - Valid HTML ok 8 ok 9 ok 10 - Not HTML ok 11 - The object isa HTTP::Response ok 12 - Valid HTML ok 13 - WWW::Mechanize::Shell test page ok 14 - Mech: no cycles ok t/local/submit........... 1..13 ok 1 - use WWW::Mechanize; # Started http://localhost:42808/ ok 2 - The object isa LocalServer ok 3 - Created the object isa WWW::Mechanize ok 4 - Got back a response isa HTTP::Response ok 5 - Got the correct page ok 6 - Got local page ok 7 - is HTML ok 8 - Hopefully no upload happens ok 9 - Got back a response isa HTTP::Response ok 10 - Can click "submit" ("submit" button) ok 11 - Found "Foo" ok 12 - No upload happens ok 13 - Mech: no cycles ok t/mech-dump/mech-dump.... 1..4 ok 1 - First line matches ok 2 - Still some expected ok 3 - Still some actual ok 4 - Rest of the lines match ok t/new.................... 1..14 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - success() is false before any get ok 4 - res() is undef ok 5 - The object isa WWW::Mechanize ok 6 - WWW::Mechanize->can('request') ok 7 - Set user agent string ok 8 - Set user agent version ok 9 - Can set the agent ok 10 - The object isa WWW::Mechanize ok 11 - WWW::Mechanize->can('request') ok 12 - Aliases don't get translated in the constructor ok 13 - Alias sets the agent ok 14 - Can still set the agent ok t/pod-coverage........... 1..3 ok 1 - Pod coverage on WWW::Mechanize ok 2 - Pod coverage on WWW::Mechanize::Image ok 3 - Pod coverage on WWW::Mechanize::Link ok t/pod.................... 1..7 ok 1 - blib/script/mech-dump ok 2 - blib/lib/WWW/Mechanize.pm ok 3 - blib/lib/WWW/Mechanize/Examples.pod ok 4 - blib/lib/WWW/Mechanize/FAQ.pod ok 5 - blib/lib/WWW/Mechanize/Image.pm ok 6 - blib/lib/WWW/Mechanize/Link.pm ok 7 - blib/lib/WWW/Mechanize/Cookbook.pod ok t/regex-error............ 1..4 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Passes message, and includes the line number ok 4 - Passes message, and includes the line number ok t/save_content........... 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/find_inputs.html ok 4 - saved.test.txt does not exist ok 5 - Saved copy matches the original ok t/select................. 1..14 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/select.html ok 4 - set form to number 1 ok 5 - multi->multi value is bbb ccc ok 6 - multi->multi value is bbb ccc ok 7 - single->multi value is 'aaa' ok 8 - single->multi value is 'aaa' ok 9 - multi->single value is bbb ok 10 - multi->single value is bbb ok 11 - single->single value is 'aaa' ok 12 - single->single value is 'aaa' ok 13 - return 1 after successful select ok 14 - return undef after failed select ok t/taint.................. 1..6 ok 1 - use WWW::Mechanize; ok 2 - Created object isa WWW::Mechanize ok 3 - ENV taints OK ok 4 - Correct title ok 5 - Title should not be tainted ok 6 - But content should ok t/tick................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/tick.html ok 4 - The object isa HTML::Form ok 5 - Proper posting ok t/upload................. 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - file:///home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/t/upload.html ok 4 - Proper posting ok 5 - The uploaded file should be in the request ok t/warn................... 1..6 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Passes the message, and includes the line number ok 4 - Quiets correctly ok 5 - The object isa WWW::Mechanize ok 6 - Quiets correctly ok t/warnings............... 1..3 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Unknown aliases squawk appropriately ok All tests successful. Test Summary Report ------------------- t/local/click_button (Wstat: 0 Tests: 19 Failed: 0) TODO passed: 15-17, 19 Files=51, Tests=593, 25 wallclock secs ( 0.05 usr 0.17 sys + 11.33 cusr 3.76 csys = 15.31 CPU) Result: PASS PETDANCE/WWW-Mechanize-1.52.tar.gz make test TEST_VERBOSE=1 -- OK Andy Lester <andy@petdance.com> Handy web browsing in a Perl object >>> (cd /home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7 && tar cvf - WWW-Mechanize-1.52.ppd blib) | gzip -c >/home/cpanfly/var/REPO/P/PE/PETDANCE/WWW-Mechanize-1.52.tar.gz WWW-Mechanize-1.52.ppd blib/ blib/lib/ blib/lib/WWW/ blib/lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize/ blib/lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/FAQ.pod blib/lib/WWW/Mechanize/Image.pm blib/lib/WWW/Mechanize/Link.pm blib/lib/WWW/Mechanize/Cookbook.pod blib/man1/ blib/man1/mech-dump.1 blib/man3/ blib/man3/WWW::Mechanize::Image.3 blib/man3/WWW::Mechanize::Examples.3 blib/man3/WWW::Mechanize::Cookbook.3 blib/man3/WWW::Mechanize::FAQ.3 blib/man3/WWW::Mechanize.3 blib/man3/WWW::Mechanize::Link.3 blib/script/ blib/script/mech-dump >>> mv /home/cpanfly/var/cpan/build/WWW-Mechanize-1.52-HdQOM7/WWW-Mechanize-1.52.ppd /home/cpanfly/var/REPO/P/PE/PETDANCE Finished 2008-11-26T06:06:13