Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/perl-WWW-Mechanize.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-94906-59573/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/perl-WWW-Mechanize.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/perl-WWW-Mechanize-2.17-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-WWW-Mechanize.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-94906-59573/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-WWW-Mechanize.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R94qdq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf WWW-Mechanize-2.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/WWW-Mechanize-2.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd WWW-Mechanize-2.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rUTHeT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd WWW-Mechanize-2.17 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for WWW::Mechanize + /usr/bin/make -O -j32 V=1 VERBOSE=1 cp lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize.pm cp lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/Examples.pod cp lib/WWW/Mechanize/Cookbook.pod blib/lib/WWW/Mechanize/Cookbook.pod 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/Link.pm blib/lib/WWW/Mechanize/Link.pm cp script/mech-dump blib/script/mech-dump "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/mech-dump Manifying 1 pod document Manifying 6 pod documents + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wXb0VK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch + cd WWW-Mechanize-2.17 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch 'INSTALL=/usr/bin/install -p' Manifying 1 pod document Manifying 6 pod documents Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/perl5/vendor_perl/WWW/Mechanize.pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/perl5/vendor_perl/WWW/Mechanize/FAQ.pod Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/perl5/vendor_perl/WWW/Mechanize/Link.pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/perl5/vendor_perl/WWW/Mechanize/Image.pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/perl5/vendor_perl/WWW/Mechanize/Cookbook.pod Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/perl5/vendor_perl/WWW/Mechanize/Examples.pod Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/man/man1/mech-dump.1 Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/man/man3/WWW::Mechanize.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/man/man3/WWW::Mechanize::Cookbook.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/man/man3/WWW::Mechanize::FAQ.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/man/man3/WWW::Mechanize::Image.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/man/man3/WWW::Mechanize::Examples.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/share/man/man3/WWW::Mechanize::Link.3pm Installing /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr/bin/mech-dump + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-WWW-Mechanize-2.17-1.oc9.noarch/usr + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.17-1.oc9 --unique-debug-suffix -2.17-1.oc9.noarch --unique-debug-src-base perl-WWW-Mechanize-2.17-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/WWW-Mechanize-2.17 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.AWRPv2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd WWW-Mechanize-2.17 ++ perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- -j32 + export HARNESS_OPTIONS=j32 + HARNESS_OPTIONS=j32 + make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/local/*.t t/mech-dump/*.t t/form-parsing.t ......................... 1..1 ok 1 - Find one form, please ok # # Versions for all modules listed in static metadata (including optional ones): # # === Configure Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.70 # # === Configure Suggests === # # Module Want Have # -------- ------- ---- # JSON::PP 2.27300 4.16 # # === Test Requires === # # Module Want Have # ------------------- ---- -------- # ExtUtils::MakeMaker any 7.70 # File::Spec any 3.75 # File::Temp any 0.2311 # FindBin any 1.53 # HTTP::Daemon 6.12 6.16 # LWP any 6.72 # LWP::Simple any 6.72 # Path::Tiny any 0.144 # Test::Deep any 1.204 # Test::Fatal any 0.017 # Test::Memory::Cycle any 1.06 # Test::More 0.96 1.302195 # Test::Output any 1.034 # Test::Taint 1.08 1.08 # Test::Warnings any 0.032 # URI any 5.19 # URI::Escape any 5.19 # bytes any 1.08 # lib any 0.65 # # === Test Recommends === # # Module Want Have # ---------- -------- ------- # CPAN::Meta 2.120900 missing # # === Runtime Requires === # # Module Want Have # --------------------- ----- -------- # Carp any 1.50 # Getopt::Long any 2.54 # HTML::Form 6.08 6.11 # HTML::HeadParser any 3.81 # HTML::TokeParser any 3.81 # HTML::TreeBuilder 5 5.07 # HTTP::Cookies any 6.11 # HTTP::Request 1.30 6.44 # HTTP::Request::Common any 6.44 # LWP::UserAgent any 6.72 # Pod::Usage any 2.03 # Scalar::Util 1.14 1.63 # Tie::RefHash any 1.40 # URI::URL any 5.19 # URI::file any 5.19 # base any 2.27 # perl 5.008 5.036000 # strict any 1.12 # warnings any 1.58 # # === Runtime Recommends === # # Module Want Have # -------------- ---- ----- # Compress::Zlib any 2.206 # t/00-report-prereqs.t .................... 1..1 ok 1 - Reported prereqs ok # Testing WWW::Mechanize 2.17, with LWP 6.72, Perl 5.036000, /usr/bin/perl 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/bad-request.t .......................... 1..2 ok 1 - ->request wants at least one parameter ok 2 - We carp with a descriptive error message ok t/die.t .................................. ok 1 - Expecting to die ok 2 - Not expecting to die 1..2 ok t/clone.t ................................ 1..6 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 4 - Cookie jar contents are the same ok 5 - Adding cookies adds to both jars ok 6 - Adding headers does not add to both agents ok 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/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/autocheck.t ............................ ok 1 - Autocheck is set to off via new() ok 2 - Didn't fetch file:///foo.foo.xx.random, but didn't die, either ok 3 - Autocheck is now on ok 4 - ... and couldn't fetch file:///foo.foo.xx.random, and died as a result ok 5 - Autocheck is on by default ok 6 - Couldn't fetch file:///foo.foo.xx.random, and died as a result ok 7 - Autocheck is now off ok 8 - ... and didn't fetch file:///foo.foo.xx.random, but didn't die, either 1..8 ok t/content.t .............................. ok 1 - use WWW::Mechanize; ok 2 - content starts out as undef ok 3 - Found Fine ok 4 - Could not find "html" ok 5 - Unkown format ok 6 - Found the base href ok 7 - Found the new base href ok 8 - raw => 1 ok 9 - decoded_by_headers => 1 ok 10 - charset => ... ok 11 - unhandled param 1..11 ok t/area_link.t ............................ 1..9 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/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/credentials.t .......................... ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - default username is undefined at first ok 3 - default password is undefined at first ok 4 - credentials dies with wrong number of args ok 5 - calling credentials sets username for get_basic_credentials ok 6 - calling credentials sets password for get_basic_credentials ok 7 - cloned object has username for get_basic_credentials ok 8 - cloned object has password for get_basic_credentials ok 9 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 10 - new object has no username for get_basic_credentials ok 11 - new object has no password for get_basic_credentials ok 12 - username is undefined after clear_credentials ok 13 - password is undefined after clear_credentials ok 14 - cloned object still has username for get_basic_credentials ok 15 - cloned object still has password for get_basic_credentials 1..15 ok t/image-new.t ............................ 1..15 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 - attrs/id works ok 10 - attrs/class works ok 11 - url_abs works ok 12 - 'Returns an object' isa 'URI::URL' ok 13 - An object of class 'WWW::Mechanize::Image' isa 'WWW::Mechanize::Image' ok 14 - url() without url is undef ok 15 - 'Returns an object' isa 'URI::URL' ok t/find_frame.t ........................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/find_frame.html ok 4 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 5 - First link sequentially ok t/find_inputs.t .......................... 1..11 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/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/field.t ................................ ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/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 9 - textarea is empty ok 10 - textarea has been populated ok 11 - __no_value is empty ok 12 - __no_value changed ok 13 - __value_empty is empty ok 14 - __value_empty changed not ok 15 - __value is empty # TODO HTML::TokeParser does not understand how to parse this and returns a value where it should not have one # Failed (TODO) test '__value is empty' # at t/field.t line 46. # value ok 16 - __value changed 1..16 ok t/file_upload.t .......................... ok 1 - $mc->field( 'document', [$file] ) ok 2 - ... and the file was sent ok 3 - $mc->field( 'document', [$file, $filename] ) ok 4 - $mc->field( 'document', [$file, $filename, Content => 'changed content'] ) ok 5 - ... and the Content header was sent instead of the file ok 6 - $mc->set_fields( 'document', [$file] ) ok 7 - ... and the file was sent ok 8 - $mc->set_fields( 'document' => [ $file, $filename ] ) ok 9 - $mc->set_fields( 'document' => [ $file, $filename, Content => 'my content' ] ) ok 10 - ... and the Content header was sent instead of the file ok 11 - $mc->set_fields( 'document' => [[ $file, $filename ], 1] ) ok 12 - $mc->set_fields( 'document' => [[ $file, $filename, Content => 'content' ], 1] ) ok 13 - $mc->set_fields( 'document' => [[ undef, $filename, Content => 'content' ], 1] ) ok 14 - $mc->set_fields( 'another_field' => 'foo', 'document' => [ $file, $filename ] ) ok 15 - setting a field that does not exist lives ok 16 - $mc->set_fields( 'does_not_exist' => [ [$file], 1 ] ) 1..16 ok t/cookies.t .............................. 1..14 ok 1 - An object of class 'WWW::Mechanize' 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/find_link_id.t ......................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/find_link_id.html ok 4 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 5 - found link with given ID ok 6 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 7 - found link within "iframe" with given class ok 8 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 9 - found link with ID matching a regex ok 10 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 11 - found link with class matching a regex 1..11 ok t/find_link-warnings.t ................... ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/find_link.html ok 3 - detected usage error: TEXT => 'string' ok 4 - detected usage error: NAME => 'string' ok 5 - detected usage error: URL => 'string' ok 6 - detected usage error: TAG => 'string' ok 7 - detected usage error: text_regex => 'string' ok 8 - detected usage error: name_regex => 'string' ok 9 - detected usage error: url_regex => 'string' ok 10 - detected usage error: tag_regex => 'string' ok 11 - detected usage error: text => Regex ok 12 - detected usage error: name => Regex ok 13 - detected usage error: url => Regex ok 14 - detected usage error: tag => Regex ok 15 - detected usage error: text => padded-string ok 16 - detected usage error: name => padded-string ok 17 - detected usage error: url => padded-string ok 18 - detected usage error: tag => padded-string ok 19 - no (unexpected) warnings (via done_testing) 1..19 ok t/find_link_xhtml.t ...................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/find_link_xhtml.html ok 4 - We find exactly the valid links ok 5 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 6 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/find_link_xhtml.html ok 7 - We find exactly the valid links, explicitly ok 8 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 9 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/find_link_xhtml.html ok 10 - We can enable the legacy behaviour 1..10 ok t/frames.t ............................... 1..7 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/frames.html ok 4 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 5 - Only two links ok 6 - First frame OK ok 7 - Second frame OK ok t/link.t ................................. 1..23 ok 1 - use WWW::Mechanize::Link; ok 2 - An object of class 'WWW::Mechanize::Link' 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 - param 0 is url ok 11 - param 1 is text ok 12 - param 2 is name ok 13 - param 3 is tag ok 14 - param 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/overload.t ....................... skipped: Mysteriously stopped passing, and I don't know why. t/dump.t ................................. 1..7 ok 1 - use WWW::Mechanize; # Subtest: dump_headers 1..5 ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/find_inputs.html ok 3 - Dump file created ok 4 - Dump has valid values ok 5 - Valid STDOUT ok 2 - dump_headers # Subtest: dump_links test ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/find_link.html ok 3 - Dump has valid values ok 4 - Valid STDOUT 1..4 ok 3 - dump_links test # Subtest: dump_images test ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/image-parse.html ok 3 - Dump has valid values ok 4 - Valid STDOUT 1..4 ok 4 - dump_images test # Subtest: dump_forms test ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/form_with_fields.html ok 3 - Dump has valid values ok 4 - Valid STDOUT 1..4 ok 5 - dump_forms test # Subtest: dump_forms multiselect ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/form_133_regression.html ok 3 - Dump has valid values ok 4 - Valid STDOUT 1..4 ok 6 - dump_forms multiselect # Subtest: dump_text test ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/image-parse.html ok 3 - Dump has valid values ok 4 - Valid STDOUT 1..4 ok 7 - dump_text test ok t/find_image.t ........................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/image-parse.html ok 4 - find_all_images in the page ok 5 - ... and all ten are in the right order ok 6 - images() and find_all_images() return the same thing in list context ok 7 - images() and find_all_images() return the same thing in scalar context ok 8 - find_image: CSS ok 9 - find_all_images: CSS ok 10 - find_image: alt ok 11 - find_all_images: alt ok 12 - find_image: alt_regex ok 13 - find_all_images: alt_regex ok 14 - find_image: url ok 15 - find_all_images: url ok 16 - find_image: url_regex ok 17 - find_all_images: url_regex ok 18 - find_image: url_abs ok 19 - find_all_images: url_abs ok 20 - find_image: url_abs_regex ok 21 - find_all_images: url_abs_regex ok 22 - find_image: tag (img) ok 23 - find_all_images: tag (img) ok 24 - find_image: tag (input) ok 25 - find_all_images: tag (input) ok 26 - find_image: tag_regex ok 27 - find_all_images: tag_regex ok 28 - find_image: id ok 29 - find_all_images: id ok 30 - find_image: id_regex ok 31 - find_all_images: id_regex ok 32 - find_image: class ok 33 - find_all_images: class ok 34 - find_image: class_regex ok 35 - find_all_images: class_regex ok 36 - find_image: class_regex and url ok 37 - find_all_images: class_regex and url ok 38 - find_image: 2nd instance of an image ok 39 - find_image: inline style background image ok 40 - find_image with alt that does not exist returns an empty list ok 41 - find_image with alt_regex that does not exist returns an empty list ok 42 - find_image with url that does not exist returns an empty list ok 43 - find_image with url_regex that does not exist returns an empty list ok 44 - find_image with url_abs that does not exist returns an empty list ok 45 - find_image with url_abs_regex that does not exist returns an empty list ok 46 - find_image with tag that does not exist returns an empty list ok 47 - find_image with tag_regex that does not exist returns an empty list ok 48 - find_image with id that does not exist returns an empty list ok 49 - find_image with id_regex that does not exist returns an empty list ok 50 - find_image with class that does not exist returns an empty list ok 51 - find_image with class_regex that does not exist returns an empty list ok 52 - find_image warns when it sees an unexpected regex ok 53 - ... and ignores this argument ok 54 - find_image warns when it expects a regex and sees a string ok 55 - ... and ignores this argument ok 56 - find_image warns about space-padding ok 57 - ... and ignores this argument ok 58 - no (unexpected) warnings (via done_testing) 1..58 ok t/image-parse.t .......................... 1..47 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/image-parse.html ok 4 - Exactly twelve images ok 5 - Got the background style image ok 6 - css tag ok 7 - alt ok 8 - img tag ok 9 - URL matches ok 10 - alt matches ok 11 - input tag ok 12 - URL matches ok 13 - alt matches ok 14 - height ok 15 - width ok 16 - Got the fourth image ok 17 - input tag ok 18 - alt ok 19 - Got the fifth image ok 20 - input tag ok 21 - alt ok 22 - id ok 23 - class ok 24 - Got the sixth image ok 25 - input tag ok 26 - alt ok 27 - id ok 28 - class ok 29 - Got the seventh image ok 30 - input tag ok 31 - alt ok 32 - id ok 33 - class ok 34 - Got the eighth image ok 35 - it has no URL ok 36 - it has an extra attribute ok 37 - Got the fifth image ok 38 - css tag ok 39 - alt ok 40 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/image-parse.css ok 41 - survived eval ok 42 - Exactly two images ok 43 - Got the first image ok 44 - css tag ok 45 - alt ok 46 - Got the second image ok 47 - css tag ok t/find_link.t ............................ ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/find_link.html ok 4 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 5 - First link on the page ok 6 - First link on the page ok 7 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 8 - Third link should be the CSS ok 9 - Third link should be the CSS ok 10 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 11 - found link in uppercase meta tag ok 12 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 13 - First CPAN link ok 14 - First CPAN link ok 15 - No url matching CPAN ok 16 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 17 - 3rd CPAN text ok 18 - 3rd CPAN text ok 19 - No 34th CPAN text ok 20 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 21 - Got 1st cpan via regex ok 22 - Got 1st cpan via regex ok 23 - An object of class 'WWW::Mechanize::Link' 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 - An object of class 'WWW::Mechanize::Link' 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 - An object of class 'WWW::Mechanize::Link' 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 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 37 - First News is MSNBC ok 38 - First News is MSNBC ok 39 - An object of class 'WWW::Mechanize::Link' 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 - An object of class 'WWW::Mechanize::Link' 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 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 51 - Got the CPAN C link ok 52 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 53 - Got 2nd link that begins with a capital ok 54 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 55 - Got 3rd tag ok 56 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 57 - Got 7th or tag ok 58 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 59 - Got the JavaScript link ok 60 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 61 - No match ok 62 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 63 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 64 - Got js url link ok 65 - Got js url link ok 66 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 67 - Got icon url link ok 68 - An object of class 'WWW::Mechanize::Link' isa 'WWW::Mechanize::Link' ok 69 - Got stylesheet url link ok 70 - got link from meta tag via tag search 1..70 ok t/link-relative.t ........................ 1..6 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/image-parse.html ok 4 - Fetch select.html, no directory ok 5 - Fetch select.html from ./ ok 6 - Fetched click.t ok t/form_with_fields.t ..................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/form_with_fields.html ok 4 - dies with no input ok 5 - warning on ambiguous match (1) ok 6 - An object of class 'HTML::Form' isa 'HTML::Form' ok 7 - first form matches ok 8 - An object of class 'HTML::Form' isa 'HTML::Form' ok 9 - second form matches ok 10 - warning on ambiguous match (2) ok 11 - An object of class 'HTML::Form' isa 'HTML::Form' ok 12 - fourth form matches ok 13 - An object of class 'HTML::Form' isa 'HTML::Form' ok 14 - fourth form match 1 matches ok 15 - An object of class 'HTML::Form' isa 'HTML::Form' ok 16 - fourth form match 2 matches ok 17 - warning on unmatched nth form ok 18 - undef on unmatched nth form ok 19 - all_forms_with finds similar forms ok 20 - An object of class 'HTML::Form' isa 'HTML::Form' ok 21 - An object of class 'HTML::Form' isa 'HTML::Form' ok 22 - first result of 3rd_form_ambiguous ok 23 - second result of 3rd_form_ambiguous ok 24 - all_forms_with action finds all 7 forms ok 25 - ... and all of them have the correct action ok 26 - submit_form with no match (1) ok 27 - submit_form with no match (2) ok 28 - submit_form with no match (3) ok 29 - submit_form with more than one match ok 30 - submit_form with intersection of two criteria ok 31 - submit_form( with_fields => %data ) ok 32 - submit_form with invalid field and without strict_forms option succeeds ok 33 - submit_form with invalid field and strict_forms option fails ok 34 - submit_form with valid fields and strict_forms option succeeds ok 35 - submit_form with valid field and ref to first value of select ok 36 - ... and the second (index 1) value was set ok 37 - submit_form with valid field and ref to last value of radio ok 38 - ... and the last (index -1) value was set ok 39 - no (unexpected) warnings (via END block) 1..39 ok t/form_with_fields_passthrough_params.t .. ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/form_with_fields.html ok 4 - dies with no input ok 5 - warning on ambiguous match (1) ok 6 - An object of class 'HTML::Form' isa 'HTML::Form' ok 7 - first form matches ok 8 - An object of class 'HTML::Form' isa 'HTML::Form' ok 9 - second form matches ok 10 - warning on ambiguous match (2) ok 11 - An object of class 'HTML::Form' isa 'HTML::Form' ok 12 - fourth form matches ok 13 ok 14 - An object of class 'HTML::Form' isa 'HTML::Form' ok 15 - An object of class 'HTML::Form' isa 'HTML::Form' ok 16 - first result of 3rd_form_ambiguous ok 17 - second result of 3rd_form_ambiguous ok 18 - submit_form with no match (1) ok 19 - submit_form with no match (2) ok 20 - submit_form with no match (3) ok 21 - submit_form with more than one match ok 22 - submit_form with intersection of two criteria ok 23 - submit_form( with_fields => %data ) ok 24 - submit_form with invalid field and with global strict_forms and without implicit strict_forms fails ok 25 - submit_form with invalid field and with global strict_forms and with implicit strict_forms fails ok 26 - submit_form with invalid field and strict_forms option fails ok 27 - submit_form with valid fields and strict_forms option succeeds ok 28 - submit_form with invalid field and with global strict_forms and with implicit disabled strict_forms succeeds ok 29 - verbose_fields catches wrong HTML ok 30 - An object of class 'HTML::Form' isa 'HTML::Form' ok 31 - ... and form matches ok 32 - no (unexpected) warnings (via END block) 1..32 ok # Running tests against http://[::1]:52511/?xml=1 t/new.t .................................. 1..15 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - success() is false before any get ok 4 - res() is undef ok 5 - An object of class 'WWW::Mechanize' 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 - _agent() is static ok 11 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 12 - WWW::Mechanize->can('request') ok 13 - Aliases don't get translated in the constructor ok 14 - Alias sets the agent ok 15 - Can still set the agent ok t/regex-error.t .......................... ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Passes message, and includes the line number ok 3 - Passes message, and includes the line number ok 4 - no (unexpected) warnings (via done_testing) 1..4 ok t/select.t ............................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/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 - warning when field is not found ok 15 - return undef after failed select 1..15 ok t/save_content.t ......................... 1..8 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/find_inputs.html ok 4 - saved1.test.txt does not exist ok 5 - Saved copy matches the original ok 6 - Fetched file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/save_content.html ok 7 - saved2.test.txt does not exist ok 8 - Saved copy matches the original ok t/mech-dump/file_not_found.t ............. ok 1 - Errors when a local file is not found 1..1 ok t/uri.t .................................. ok 1 - undef uri() with a pristine object 1..1 ok t/taint.t ................................ 1..6 ok 1 - use WWW::Mechanize; ok 2 - 'Created object' isa 'WWW::Mechanize' ok 3 - Interpreter Variable taints OK ok 4 - Correct title ok 5 - Title should not be tainted ok 6 - But content should ok t/submit_form.t .......................... ok 1 - submit_form with no match on form_id ok 2 - submit_form with valid form_id ok 3 - submit_form with invalid arg ok 4 - submit_form with invalid form number ok 5 - submit_form with invalid form name ok 6 - submit_form with invalid arg value for with_fields ok 7 - submit_form with invalid arg value for fields ok 8 - submit_form with no fields ok 9 - no (unexpected) warnings (via done_testing) 1..9 ok t/tick.t ................................. ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/tick.html ok 4 - An object of class 'HTML::Form' isa 'HTML::Form' ok 5 - Proper posting ok 6 - dies if checkbox not found 1..6 ok t/untaint.t .............................. 1..2 ok 1 - use WWW::Mechanize; ok 2 - no (unexpected) warnings (via END block) ok t/warn.t ................................. ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Passes the message, and includes the line number ok 3 - Quiets correctly ok 4 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 5 - Quiets correctly ok 6 - no (unexpected) warnings (via done_testing) 1..6 ok t/mech-dump/mech-dump.t .................. # Subtest: Success ok 1 - First line matches ok 2 - Still some expected ok 3 - Still some actual ok 4 - Rest of the lines match 1..4 ok 1 - Success 1..1 ok t/upload.t ............................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - file:///builddir/build/BUILD/WWW-Mechanize-2.17/t/upload.html ok 4 - Proper posting ok 5 - The uploaded file should be in the request ok t/warnings.t ............................. ok 1 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 2 - Unknown aliases squawk appropriately ok 3 - no (unexpected) warnings (via done_testing) 1..3 ok t/local/referer.t ........................ 1..14 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' 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 - Quit OK ok 14 - No memory cycles found ok t/local/encoding.t ....................... 1..6 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - An object of class 'LocalServer' isa 'LocalServer' ok 4 - Fetched OK ok 5 - got encoding enc-jp ok 6 - Quit OK ok t/local/failure.t ........................ 1..15 ok 1 - require WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - An object of class 'HTTP::Response' 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 - Many 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/form.t ........................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 4 - got a page ok 5 - got correct page ok 6 - 'form_number - can select the first form in list context call' isa 'HTML::Form' ok 7 - form_number - form number is correct ok 8 - 'form_number - can select the first form' isa 'HTML::Form' ok 9 - form_number - set the form attribute ok 10 - form_number - cannot select the 99th form ok 11 - form_number - form is still set to 1 ok 12 - 'form_name - can select the form' isa 'HTML::Form' ok 13 - form_name - cannot select non-existent form ok 14 - 'form_name - can select the form' isa 'HTML::Form' ok 15 - 'form_name - can select the 1st multiform' isa 'HTML::Form' ok 16 - 'form_name - can select the 2nd multiform' isa 'HTML::Form' ok 17 - form_name - cannot select non-existent multiform ok 18 - 'form_id - can select the form' isa 'HTML::Form' ok 19 - form_id - cannot select non-existent multiform ok 20 - 'form_id - can select the multiform' isa 'HTML::Form' ok 21 - 'form_id - can select the 1st multiform' isa 'HTML::Form' ok 22 - 'form_id - can select the 2nd multiform' isa 'HTML::Form' ok 23 - form_id - cannot select non-existent multiform ok 24 - 'form_with - can select the form without id' isa 'HTML::Form' ok 25 - form_with - form without id is now the current form ok 26 - Can select nth form with ambiguous criteria ok 27 - no warnings so far ok 28 - form_with - can select form with ambiguous criteria ok 29 - form_with - got one warning ok 30 - Got expected warning ok 31 - form_with - with with action ok 32 - form_with - with action and class ok 33 - form_with - filters forms when action does not exist ok 34 - 'form_action - can select the form' isa 'HTML::Form' ok 35 - form_action - cannot select non-existent form ok 36 - 'form_action - can select the form' isa 'HTML::Form' ok 37 - form_action - got one warning ok 38 - form_action - got correct multiple-matching-forms warning 1..38 ok t/local/nonascii.t ....................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - Got some page ok 5 - set utf value ok t/history.t .............................. ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - Fetch test page ok 4 - ... and it was recorded in the history ok 5 - ... and the first history item is of the correct format ok 6 - ... and it was recorded in the history ok 7 - ... and the second history item is of the correct format ok 8 - Submit form using 'get' method ok 9 - ... and it was recorded in the history ok 10 - ... and the third history item is of the correct format ok 11 - Clear the history ok 12 - ... and the history contains only one item ok 13 - ... and the latest history item is of the correct format ok 14 - ... and we are still 'displaying' the page we were on when we cleared the history ok 15 - ... and we cannot go back in the history ok 16 - Click a link in the page we are 'displaying' ok 17 - ... and it was recorded in the history ok 18 - ... and we are 'displaying' a different page ok 19 - We can go back in history ok 20 - ... and we are 'displaying' the page we were on when we cleared the history again ok 21 - Submit form using 'post' method ok 22 - ... and it was recorded in the history ok 23 - ... and the correct request was saved ok 24 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 25 - stack_depth can be changed ok 26 - No history saved when history is turned off ok 27 - Limited history is saved when stack_depth is explicitly set 1..27 ok t/local/click.t .......................... 1..9 ok 1 - use WWW::Mechanize; ok 2 - 'Created the object' isa 'WWW::Mechanize' ok 3 - An object of class 'LocalServer' 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/content.t ........................ 1..10 ok 1 - use WWW::Mechanize; ok 2 - 'Created the object' isa 'WWW::Mechanize' ok 3 - An object of class 'LocalServer' 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/head.t ........................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - Starting out with no ->base ok 5 - An object of class 'HTTP::Response' isa 'HTTP::Response' ok 6 - ... and now there is a ->base ok 7 - HEADing returns no content ok 8 - ... but the filename is set 1..8 ok t/local/page_stack.t ..................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - Page stack starts empty ok 5 - No history count to start ok 6 - No 0th history item yet ok 7 - Got start page ok 8 - Page stack empty after first get ok 9 - 0th history is last request ok 10 - No 1th history item yet ok 11 - One history count after first get ok 12 - Pushed item onto page stack ok 13 - Two history count after push ok 14 - Pushed item onto page stack ok 15 - Three history count after push ok 16 - Popped item from page stack ok 17 - History count back to 2 post pop ok 18 - Popped item from page stack ok 19 - History count back to 1 post pop ok 20 - Cannot pop beyond end of page stack ok 21 - History count stable at 1 ok 22 - 'Created object' isa 'WWW::Mechanize' ok 23 - Page stack starts empty ok 24 - Got start page ok 25 - Page stack starts empty ok 26 - Pushing has no effect 1..26 ok t/local/submit.t ......................... 1..13 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' 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/local/post.t ........................... 1..5 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - Get webpage ok 5 - Post webpage ok t/local/reload.t ......................... 1..15 ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' isa 'LocalServer' ok 3 - 'Created object' isa 'WWW::Mechanize' ok 4 - Initial reload should fail ok 5 - An object of class 'HTTP::Response' isa 'HTTP::Response' ok 6 - Get google webpage ok 7 - Valid HTML ok 8 ok 9 ok 10 - Not HTML ok 11 - An object of class 'HTTP::Response' isa 'HTTP::Response' ok 12 - Valid HTML ok 13 - WWW::Mechanize test page ok 14 - cookies are not multiplied ok 15 - Mech: no cycles ok t/local/select_multiple.t ................ ok 1 - use WWW::Mechanize; ok 2 - An object of class 'WWW::Mechanize' isa 'WWW::Mechanize' ok 3 - this $mech starts with a cookie jar ok 4 - An object of class 'LocalServer' isa 'LocalServer' ok 5 - Dies without a form ok 6 - Fetched OK ok 7 - submit_form, second value ok 8 - ... and the second value was set ok 9 - set_fields, second value ok 10 - ... and the second value was set ok 11 - submit_form, second value as array ok 12 - ... and the second value was set ok 13 - field, second value ok 14 - ... and the second value was set ok 15 - field, second value as array ok 16 - ... and the second value was set ok 17 - submit_form, first value ok 18 - ... and the first value was set ok 19 - No memory cycles found 1..19 ok t/local/follow.t ......................... ok 1 - use WWW::Mechanize; ok 2 - An object of class 'LocalServer' 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 23 - can follow url ok 24 - Need to be on a separate page ok 25 - Can still go back ok 26 - Can we follow all links? ok 27 - Can still go back ok 28 - can't follow wrong url ok 29 - Needs to be on the same page ok 30 - Invalid parameter passing gets better error message ok 31 - dies when link does not exist with autocheck ok 32 - no (unexpected) warnings (via done_testing) 1..32 ok t/local/click_button.t ................... ok 1 - use WWW::Mechanize; ok 2 - 'Created the object' isa 'WWW::Mechanize' ok 3 - An object of class 'LocalServer' isa 'LocalServer' ok 4 - Dies without a form ok 5 - 'Got back a response' isa 'HTTP::Response' ok 6 - Got URL ok 7 - Local page is HTML # Subtest: click by id ok 1 - Clicking on button ok 2 - Correct button was pressed ok 3 - Parameters got transmitted OK ok 4 - Button id not found 1..4 ok 8 - click by id # Subtest: click by number ok 1 - Clicking on button ok 2 - Correct button was pressed ok 3 - Parameters got transmitted OK ok 4 - Button number out of range 1..4 ok 9 - click by number # Subtest: click by name ok 1 - Clicking on button ok 2 - Correct button was pressed ok 3 - Parameters got transmitted OK ok 4 - Button name unknown 1..4 ok 10 - click by name # Subtest: click a