PATH=/opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2011-11-25T13:00:55 ActivePerl-1200 CPAN-1.9402 Going to read '/export/home/fly1264/var/cpan/Metadata' Database was generated on Fri, 25 Nov 2011 19:27:54 GMT Running make for J/JE/JESSE/WWW-Mechanize-1.71.tar.gz Checksum for /net/nas/data/cpan/authors/id/J/JE/JESSE/WWW-Mechanize-1.71.tar.gz ok WWW-Mechanize-1.71/ WWW-Mechanize-1.71/bin/ WWW-Mechanize-1.71/Changes WWW-Mechanize-1.71/etc/ WWW-Mechanize-1.71/lib/ WWW-Mechanize-1.71/Makefile.PL WWW-Mechanize-1.71/MANIFEST WWW-Mechanize-1.71/MANIFEST.SKIP WWW-Mechanize-1.71/META.json WWW-Mechanize-1.71/META.yml WWW-Mechanize-1.71/perlcriticrc WWW-Mechanize-1.71/t/ WWW-Mechanize-1.71/t/00-load.t WWW-Mechanize-1.71/t/add_header.t WWW-Mechanize-1.71/t/aliases.t WWW-Mechanize-1.71/t/area_link.html WWW-Mechanize-1.71/t/area_link.t WWW-Mechanize-1.71/t/autocheck.t WWW-Mechanize-1.71/t/clone.t WWW-Mechanize-1.71/t/content.t WWW-Mechanize-1.71/t/cookies.t WWW-Mechanize-1.71/t/credentials-api.t WWW-Mechanize-1.71/t/credentials.t WWW-Mechanize-1.71/t/die.t WWW-Mechanize-1.71/t/field.html WWW-Mechanize-1.71/t/field.t WWW-Mechanize-1.71/t/find_frame.html WWW-Mechanize-1.71/t/find_frame.t WWW-Mechanize-1.71/t/find_image.t WWW-Mechanize-1.71/t/find_inputs.html WWW-Mechanize-1.71/t/find_inputs.t WWW-Mechanize-1.71/t/find_link-warnings.t WWW-Mechanize-1.71/t/find_link.html WWW-Mechanize-1.71/t/find_link.t WWW-Mechanize-1.71/t/find_link_id.html WWW-Mechanize-1.71/t/find_link_id.t WWW-Mechanize-1.71/t/form-parsing.t WWW-Mechanize-1.71/t/form_with_fields.html WWW-Mechanize-1.71/t/form_with_fields.t WWW-Mechanize-1.71/t/frames.html WWW-Mechanize-1.71/t/frames.t WWW-Mechanize-1.71/t/google.html WWW-Mechanize-1.71/t/image-new.t WWW-Mechanize-1.71/t/image-parse.html WWW-Mechanize-1.71/t/image-parse.t WWW-Mechanize-1.71/t/link-base.t WWW-Mechanize-1.71/t/link-relative.t WWW-Mechanize-1.71/t/link.t WWW-Mechanize-1.71/t/live/ WWW-Mechanize-1.71/t/local/ WWW-Mechanize-1.71/t/mech-dump/ WWW-Mechanize-1.71/t/new.t WWW-Mechanize-1.71/t/pod-coverage.t WWW-Mechanize-1.71/t/pod.t WWW-Mechanize-1.71/t/regex-error.t WWW-Mechanize-1.71/t/save_content.t WWW-Mechanize-1.71/t/select.html WWW-Mechanize-1.71/t/select.t WWW-Mechanize-1.71/t/taint.t WWW-Mechanize-1.71/t/TestServer.pm WWW-Mechanize-1.71/t/tick.html WWW-Mechanize-1.71/t/tick.t WWW-Mechanize-1.71/t/Tools.pm WWW-Mechanize-1.71/t/untaint.t WWW-Mechanize-1.71/t/upload.html WWW-Mechanize-1.71/t/upload.t WWW-Mechanize-1.71/t/warn.t WWW-Mechanize-1.71/t/warnings.t WWW-Mechanize-1.71/t/mech-dump/mech-dump.t WWW-Mechanize-1.71/t/local/back.t WWW-Mechanize-1.71/t/local/click.t WWW-Mechanize-1.71/t/local/click_button.t WWW-Mechanize-1.71/t/local/content.t WWW-Mechanize-1.71/t/local/encoding.t WWW-Mechanize-1.71/t/local/failure.t WWW-Mechanize-1.71/t/local/follow.t WWW-Mechanize-1.71/t/local/form.t WWW-Mechanize-1.71/t/local/get.t WWW-Mechanize-1.71/t/local/LocalServer.pm WWW-Mechanize-1.71/t/local/log-server WWW-Mechanize-1.71/t/local/nonascii.html WWW-Mechanize-1.71/t/local/nonascii.t WWW-Mechanize-1.71/t/local/overload.t WWW-Mechanize-1.71/t/local/page_stack.t WWW-Mechanize-1.71/t/local/referer-server WWW-Mechanize-1.71/t/local/referer.t WWW-Mechanize-1.71/t/local/reload.t WWW-Mechanize-1.71/t/local/submit.t WWW-Mechanize-1.71/t/live/encoding.t WWW-Mechanize-1.71/t/live/wikipedia.t WWW-Mechanize-1.71/lib/WWW/ WWW-Mechanize-1.71/lib/WWW/Mechanize/ WWW-Mechanize-1.71/lib/WWW/Mechanize.pm WWW-Mechanize-1.71/lib/WWW/Mechanize/Cookbook.pod WWW-Mechanize-1.71/lib/WWW/Mechanize/Examples.pod WWW-Mechanize-1.71/lib/WWW/Mechanize/FAQ.pod WWW-Mechanize-1.71/lib/WWW/Mechanize/Image.pm WWW-Mechanize-1.71/lib/WWW/Mechanize/Link.pm WWW-Mechanize-1.71/etc/www-mechanize-logo.png WWW-Mechanize-1.71/bin/mech-dump CPAN.pm: Going to build J/JE/JESSE/WWW-Mechanize-1.71.tar.gz >>> /export/home/fly1264/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for WWW::Mechanize Writing MYMETA.yml and MYMETA.json >>> 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/Cookbook.pod blib/lib/WWW/Mechanize/Cookbook.pod cp lib/WWW/Mechanize/FAQ.pod blib/lib/WWW/Mechanize/FAQ.pod cp lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize.pm cp bin/mech-dump blib/script/mech-dump /export/home/fly1264/bin/perl -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::FAQ.3 Manifying blib/man3/WWW::Mechanize::Cookbook.3 Manifying blib/man3/WWW::Mechanize.3 JESSE/WWW-Mechanize-1.71.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly1264/bin/perl "-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/content.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/form_with_fields.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/untaint.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/content.t t/local/encoding.t t/local/failure.t t/local/follow.t t/local/form.t t/local/get.t t/local/nonascii.t t/local/overload.t t/local/page_stack.t t/local/referer.t t/local/reload.t t/local/submit.t t/mech-dump/mech-dump.t # Testing WWW::Mechanize 1.71, with LWP 6.03, Perl 5.012000, /export/home/fly1264/bin/perl # Test::Memory::Cycle 1.04 is installed. t/00-load.t .............. 1..2 ok 1 - use WWW::Mechanize; ok 2 - use WWW::Mechanize::Link; ok t/add_header.t ........... 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.t .............. 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.t ............ 1..9 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t ............ 1..5 ok 1 - require WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Didn't fetch http://blahblablah.xx-nonexistent.foo/, but didn't die, either ok 4 - The object isa WWW::Mechanize ok 5 - Couldn't fetch http://blahblablah.xx-nonexistent.foo/, and died as a result ok t/clone.t ................ 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/content.t .............. 1..5 ok 1 - use WWW::Mechanize; ok 2 - Found Fine ok 3 - Could not find "html" ok 4 - Found the base href ok 5 - Found the new base href ok # Test server http://127.0.0.1:39864 as PID 19663 t/cookies.t .............. 1..14 TestServer: You can connect to your server at http://localhost:39864/ 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 Use of uninitialized value within @_ in lc at /export/home/fly1264/var/megalib/LWP/UserAgent.pm line 580. t/credentials-api.t ...... 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.t .......... 1..14 ok 1 - The object isa WWW::Mechanize ok 2 - default username is undefined at first ok 3 - default password is undefined at first ok 4 - calling credentials sets username for get_basic_credentials ok 5 - calling credentials sets password for get_basic_credentials ok 6 - cloned object has username for get_basic_credentials ok 7 - cloned object has password for get_basic_credentials ok 8 - The object isa WWW::Mechanize ok 9 - new object has no username for get_basic_credentials ok 10 - new object has no password for get_basic_credentials ok 11 - username is undefined after clear_credentials ok 12 - password is undefined after clear_credentials ok 13 - cloned object still has username for get_basic_credentials ok 14 - cloned object still has password for get_basic_credentials ok t/die.t .................. 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.t ................ 1..8 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t ........... 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/t/find_frame.html ok 4 - The object isa WWW::Mechanize::Link ok 5 - First link sequentially ok t/find_image.t ........... 1..17 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t .......... 1..11 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t ... 1..19 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t ............ 1..62 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t ......... ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t ......... 1..1 ok 1 - Find one form, please ok There are 2 forms with the named fields. The first one was used. at t/form_with_fields.t line 27 t/form_with_fields.t ..... ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/t/form_with_fields.html ok 4 - dies with no input ok 5 - The object isa HTML::Form ok 6 - first form matches ok 7 - The object isa HTML::Form ok 8 - second form matches ok 9 - submit_form( with_fields => %data ) 1..9 ok t/frames.t ............... 1..7 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t ............ 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.t .......... 1..15 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t ............ 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.t ........ 1..6 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t ................. 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/local/back.t ........... 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 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.t .......... 1..9 ok 1 - use WWW::Mechanize; ok 2 - Created the object isa WWW::Mechanize 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.t ... 1..19 ok 1 - use WWW::Mechanize; ok 2 - Created the object isa WWW::Mechanize 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', # 'cookie' => 'log-server=shazam2', # 'cookie2' => '$Version="1"', # 'referer' => 'http://localhost:47147/', # 'user-agent' => 'WWW-Mechanize/1.71' # }, 'HTTP::Headers' ), # '_method' => 'GET', # '_uri' => bless( do{\(my $o = 'http://localhost:47147/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:47147/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 # Running tests against http://localhost:47153/?xml=1 t/local/content.t ........ 1..10 ok 1 - use WWW::Mechanize; ok 2 - Created the object isa WWW::Mechanize ok 3 - The object isa LocalServer ok 4 - Got back a response isa HTTP::Response ok 5 - Got URL ok 6 - Content type is application/xhtml+xml ok 7 - Local page is HTML ok 8 - Got back a response isa HTTP::Response ok 9 - Can click 'Go' ('Google Search' button) ok 10 - Filled field correctly ok t/local/encoding.t ....... 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - The object isa LocalServer ok 4 - Fetched OK ok 5 - got encoding enc-jp ok t/local/failure.t ........ 1..15 ok 1 - require WWW::Mechanize; 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.t ......... 1..22 ok 1 - use WWW::Mechanize; 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 - Gives a response isa HTTP::Response 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 22 - Couldn't find it ok t/local/form.t ........... 1..13 ok 1 - use WWW::Mechanize; 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.t ............ 1..32 ok 1 - use WWW::Mechanize; 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/nonascii.t ....... 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa LocalServer ok 3 - Created object isa WWW::Mechanize ok 4 - Got some page ok 5 - set utf value ok t/local/overload.t ....... skipped: Mysteriously stopped passing, and I don't know why. t/local/page_stack.t ..... 1..16 ok 1 - use WWW::Mechanize; 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.t ........ 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.t ......... 1..14 ok 1 - use WWW::Mechanize; 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 test page ok 14 - Mech: no cycles ok t/local/submit.t ......... 1..13 ok 1 - use WWW::Mechanize; 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.t .. 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.t .................. 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.t ......... 1..3 ok 1 - Pod coverage on WWW::Mechanize ok 2 - Pod coverage on WWW::Mechanize::Link ok 3 - Pod coverage on WWW::Mechanize::Image ok t/pod.t .................. 1..7 ok 1 - POD test for blib/script/mech-dump ok 2 - POD test for blib/lib/WWW/Mechanize.pm ok 3 - POD test for blib/lib/WWW/Mechanize/Examples.pod ok 4 - POD test for blib/lib/WWW/Mechanize/Link.pm ok 5 - POD test for blib/lib/WWW/Mechanize/Image.pm ok 6 - POD test for blib/lib/WWW/Mechanize/Cookbook.pod ok 7 - POD test for blib/lib/WWW/Mechanize/FAQ.pod ok t/regex-error.t .......... 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.t ......... 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/t/find_inputs.html ok 4 - saved.test.txt does not exist ok 5 - Saved copy matches the original ok t/select.t ............... 1..14 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - Fetched file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/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.t ................ 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.t ................. 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/t/tick.html ok 4 - The object isa HTML::Form ok 5 - Proper posting ok t/untaint.t .............. 1..2 ok 1 - use WWW::Mechanize; ok 2 - no warnings ok t/upload.t ............... 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - file:///export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/t/upload.html ok 4 - Proper posting ok 5 - The uploaded file should be in the request ok t/warn.t ................. 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.t ............. 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.t (Wstat: 0 Tests: 19 Failed: 0) TODO passed: 15-17, 19 Files=54, Tests=595, 116 wallclock secs ( 1.18 usr 0.50 sys + 53.66 cusr 6.02 csys = 61.36 CPU) Result: PASS JESSE/WWW-Mechanize-1.71.tar.gz make test TEST_VERBOSE=1 -- OK Jesse Vincent <jesse+cpan@fsck.com> Handy web browsing in a Perl object >>> (cd /export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o && tar cvf - WWW-Mechanize-1.71.ppd blib) | gzip -c >/export/home/fly1264/var/REPO/J/JE/JESSE/WWW-Mechanize-1.71.tar.gz WWW-Mechanize-1.71.ppd blib/ blib/lib/ blib/lib/WWW/ blib/lib/WWW/Mechanize/ blib/lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/Link.pm blib/lib/WWW/Mechanize/Image.pm blib/lib/WWW/Mechanize/Cookbook.pod blib/lib/WWW/Mechanize/FAQ.pod blib/lib/WWW/Mechanize.pm blib/script/ blib/script/mech-dump blib/man1/ blib/man1/mech-dump.1 blib/man3/ blib/man3/WWW::Mechanize::Link.3 blib/man3/WWW::Mechanize::Examples.3 blib/man3/WWW::Mechanize::Image.3 blib/man3/WWW::Mechanize::FAQ.3 blib/man3/WWW::Mechanize::Cookbook.3 blib/man3/WWW::Mechanize.3 >>> mv /export/home/fly1264/var/cpan/build/WWW-Mechanize-1.71-oTE88o/WWW-Mechanize-1.71.ppd /export/home/fly1264/var/REPO/J/JE/JESSE Finished 2011-11-25T13:03:09