This distribution has been tested as part of the cpan-testers effort to test as many new uploads to CPAN as possible. See http://testers.cpan.org/ Please cc any replies to [EMAIL PROTECTED] to keep other test volunteers informed and to prevent any duplicate effort. -- Warning: 5.7.1 kriegjcb@CMC01SE:~/.cpan/build/HTML-Mason-1.03 > make test TEST_VERBOSE=2 PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.7.1/i686-linux -I/usr/local/lib/perl5/5.7.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=2; $ENV{MASON_VERBOSE}=2; $ENV{MASON_VERBOSE}=2; $ENV{PORT}=8228; $ENV{APACHE_DIR}=q^/home/kriegjcb/.cpan/build/HTML-Mason-1.03/t^; runtests @ARGV;' t/*.t t/01-syntax......... 1..3 Running syntax tests (3 tests): Basic component syntax tests Running ampersand syntax (#1): tests all variations of component call path syntax and arg passing Result for syntax: ampersand syntax ok 1 Running replace (#2): tests <% %> tag Result for syntax: replace ok 2 Running percent (#3): tests %-line syntax Result for syntax: percent ok 3 ok t/02-sections....... 1..18 Running sections tests (18 tests): Tests various <%foo></%foo> sections Running args (#1): tests <%args> block Result for sections: args ok 1 Running attr (#2): tests <%attr> block Result for sections: attr ok 2 Running def (#3): tests <%def> block Result for sections: def ok 3 Running doc (#4): tests <%doc> section Result for sections: doc ok 4 Running filter (#5): tests <%filter> section Result for sections: filter ok 5 Running flags (#6): tests <%flags> section Result for sections: flags ok 6 Running init (#7): tests <%init> section Result for sections: init ok 7 Running method (#8): tests <%method> section Result for sections: method ok 8 Running once (#9): tests <%once> block Result for sections: once ok 9 Running perl (#10): test <%perl> sections and makes sure block names are case-insensitive Result for sections: perl ok 10 Running perl_args (#11): tests old <%perl_args> block Result for sections: perl_args ok 11 Running omitted args (#12): tests error message when expect args are not passed Result for sections: omitted args ok 12 Running overridden args (#13): tests overriding of default args values Result for sections: overridden args ok 13 Running perl_doc (#14): tests old <%perl_doc> section Result for sections: perl_doc ok 14 Running perl_init (#15): tests old <%perl_init> section Result for sections: perl_init ok 15 Running shared (#16): tests <%shared> section Result for sections: shared ok 16 Running test (#17): tests <%text> section Result for sections: test ok 17 Running multiple (#18): tests repeated blocks of the same type Result for sections: multiple ok 18 ok t/03-mc............. 1..1 Running mc tests (1 tests): test mc_* style command compatibility Running mc_various (#1): mc_* commands Result for mc: mc_various ok 1 ok t/04-misc........... 1..5 Running misc tests (5 tests): autohandler and dhandler functionality Running autohandler (#1): autohandler test Result for misc: autohandler ok 1 Running dhandler1 (#2): tests dhandler against nonexistent comp Result for misc: dhandler1 ok 2 Running dhandler2 (#3): real comp to make sure the real comp is invoked, not the dhandler Result for misc: dhandler2 ok 3 Running dhandler3 (#4): real comp declines the request to make sure the dhandler is invoked Result for misc: dhandler3 ok 4 Running dhandler4 (#5): declines twice to make sure higher level dhandler is called Result for misc: dhandler4 ok 5 ok t/05-request........ 1..8 Running request tests (8 tests): request object functionality Running abort (#1): test $m->abort method Result for request: abort ok 1 Running file (#2): tests $m->file method Result for request: file ok 2 Running list_out (#3): tests that $m->out can handle a list of arguments Result for request: list_out ok 3 Running req_obj (#4): tests various operations such as $m->out, comp calls, $m->current_comp Result for request: req_obj ok 4 Running subrequest (#5): tests a provisional subrequest mechanism (Jon will explain) Result for request: subrequest ok 5 Running subrequest_error (#6): check error handling for provision subrequest mechanism Result for request: subrequest_error ok 6 Running various (#7): tests caller, callers, fetch_comp, process_comp_path, comp_exists and scomp Result for request: various ok 7 Running fetch_next (#8): Test $m->fetch_next Result for request: fetch_next ok 8 ok t/06-parser......... 1..13 Running parser tests (13 tests): parser object functionality Running allow_globals (#1): test that undeclared globals cause an error Result for parser: allow_globals ok 1 Running allow_globals (#2): test that undeclared globals cause an error Result for parser: allow_globals ok 2 Running allow_globals (#3): test that declared globals are allows Result for parser: allow_globals ok 3 Running default_escape_flags (#4): test that no escaping is done by default Result for parser: default_escape_flags ok 4 Running default_escape_flags_2 (#5): test that turning on default escaping worksResult for parser: default_escape_flags_2 ok 5 Running globals_in_default_package (#6): tests that components are executed in HTML::Mason::Commands package by default Result for parser: globals_in_default_package ok 6 Running globals_in_different_package (#7): tests in_package parser parameter Result for parser: globals_in_different_package ok 7 Running preamble (#8): tests preamble parser parameter Result for parser: preamble ok 8 Running postamble (#9): tests postamble parser parameter Result for parser: postamble ok 9 Running preprocess (#10): test preprocess parser parameter Result for parser: preprocess ok 10 Running postprocess1 (#11): test postprocess parser parameter (alpha blocks) Result for parser: postprocess1 ok 11 Running postprocess2 (#12): test postprocess parser parameter (perl blocks) Result for parser: postprocess2 ok 12 Running bad_var_name (#13): test that invalid Perl variable names are caught Result for parser: bad_var_name ok 13 ok t/07-interp......... 1..28 Running interp tests (28 tests): interp object functionality Running no recursive autohandlers (#1): tests turning off recursive autohandlersResult for interp: no recursive autohandlers ok 1 Running no recursive autohandlers (#2): tests turning off recursive autohandlersResult for interp: no recursive autohandlers ok 2 Running alternate autohandler name (#3): tests that providing an alternate name for autohandlers works Result for interp: alternate autohandler name ok 3 Running shared (#4): test that component in both comp_roots is called in first comp_root Result for interp: shared ok 4 Running private1 (#5): test that component in first comp_root is found Result for interp: private1 ok 5 Running private2 (#6): test that component in second comp_root is found Result for interp: private2 ok 6 Running current_time (#7): test current_time interp param Result for interp: current_time ok 7 Running max_recurse_1 (#8): Test that recursion 8 levels deep is allowed Result for interp: max_recurse_1 ok 8 Running max_recurse_2 (#9): Test that recursion is stopped after 32 levels dubious Test returned status 0 (wstat 9, 0x9) DIED. FAILED tests 9-28 Failed 20/28 tests, 28.57% okay t/08-ah............. Testing whether Apache can be started Waiting for httpd to start. Killing httpd process (1148) Waiting for previous httpd to shut down 1..51 Executing /home/kriegjcb/.cpan/build/HTML-Mason-1.03/t/httpd -DCGI -f /home/kriegjcb/.cpan/build/HTML-Mason-1.03/t/httpd.conf Waiting for httpd to start. ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 Killing httpd process (1155) Waiting for previous httpd to shut down Executing /home/kriegjcb/.cpan/build/HTML-Mason-1.03/t/httpd -DCGI_no_handler -f /home/kriegjcb/.cpan/build/HTML-Mason-1.03/t/httpd.conf Waiting for httpd to start. ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 Killing httpd process (1184) Waiting for previous httpd to shut down Executing /home/kriegjcb/.cpan/build/HTML-Mason-1.03/t/httpd -Dmod_perl -f /home/kriegjcb/.cpan/build/HTML-Mason-1.03/t/httpd.conf Waiting for httpd to start. ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 Killing httpd process (1192) Waiting for previous httpd to shut down Executing /home/kriegjcb/.cpan/build/HTML-Mason-1.03/t/httpd -Dmod_perl_no_handler -f /home/kriegjcb/.cpan/build/HTML-Mason-1.03/t/httpd.conf Waiting for httpd to start. ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 ok 46 ok 47 Killing httpd process (1200) Waiting for previous httpd to shut down Executing /home/kriegjcb/.cpan/build/HTML-Mason-1.03/t/httpd -Dmulti_config -f /home/kriegjcb/.cpan/build/HTML-Mason-1.03/t/httpd.conf Waiting for httpd to start. ok 48 ok 49 ok 50 ok 51 Killing httpd process (1208) Waiting for previous httpd to shut down ok t/09-component...... 1..5 Running component tests (5 tests): Component object functionality Running comp_obj (#1): Tests several component object methods Result differed from expected output at line 32 Got ... ----- Subcomponent: Declared args: $crucial $useless=>17 ----- ... but expected ... ----- Subcomponent: Declared args: $useless=>17 $crucial ----- Result for component: comp_obj not ok 1 Running context (#2): Tests list/scalar context propogation in comp calls Result for component: context ok 2 Running scomp (#3): Test scomp Request method Result for component: scomp ok 3 Running STORE (#4): Test STORE parameter to component call Result for component: STORE ok 4 Running mfu_count (#5): Test mfu_count component method Result for component: mfu_count ok 5 FAILED test 1 Failed 1/5 tests, 80.00% okay t/10-cache.......... 1..3 Running cache tests (3 tests): Test caching Running cache (#1): basic caching functionality Error running cache: error while executing /cache/support/cache_test: no tie class defined! at blib/lib/HTML/Mason/Utils.pm line 32. HTML::Mason::Interp::__ANON__('no tie class defined! at blib/lib/HTML/Mason/Utils.pm line 32.\x{a}') called at blib/lib/HTML/Mason/Utils.pm line 32 HTML::Mason::Utils::access_data_cache('action','retrieve','cache_file','/home/kriegjcb/.cpan/build/HTML-Mason-1.03/mason_tests/data/cache/cache+2fsupport+2fcache_test','key','fandango') called at blib/lib/HTML/Mason/Request.pm line 231 HTML::Mason::Request::cache('HTML::Mason::Request=HASH(0x83d9ca8)','key','fandango') called at /home/kriegjcb/.cpan/build/HTML-Mason-1.03/mason_tests/data/obj/cache/support/cache_test line 17 HTML::Mason::Commands::__ANON__() called at blib/lib/HTML/Mason/Component.pm line 131 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x83f1fbc)') called at blib/lib/HTML/Mason/Request.pm line 653 eval {...} called at blib/lib/HTML/Mason/Request.pm line 653 HTML::Mason::Request::comp('HTML::Mason::Request=HASH(0x83d9ca8)','support/cache_test') called at /home/kriegjcb/.cpan/build/HTML-Mason-1.03/mason_tests/data/obj/cache/cache line 14 HTML::Mason::Commands::__ANON__() called at blib/lib/HTML/Mason/Component.pm line 131 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x83e9f50)') called at blib/lib/HTML/Mason/Request.pm line 653 eval {...} called at blib/lib/HTML/Mason/Request.pm line 653 HTML::Mason::Request::comp('HTML::Mason::Request=HASH(0x83d9ca8)','HASH(0x83e9e30)','HTML::Mason::Component::FileBased=HASH(0x83e9f50)') called at blib/lib/HTML/Mason/Request.pm line 159 eval {...} called at blib/lib/HTML/Mason/Request.pm line 159 HTML::Mason::Request::exec('HTML::Mason::Request=HASH(0x83d9ca8)','/cache/cache') called at blib/lib/HTML/Mason/Interp.pm line 242 HTML::Mason::Interp::exec('HTML::Mason::Interp=HASH(0x83e8b88)','/cache/cache') called at blib/lib/HTML/Mason/Tests.pm line 426 eval {...} called at blib/lib/HTML/Mason/Tests.pm line 426 HTML::Mason::Tests::_run_test('HTML::Mason::Tests=HASH(0x80ffbdc)') called at blib/lib/HTML/Mason/Tests.pm line 366 HTML::Mason::Tests::_run_tests('HTML::Mason::Tests=HASH(0x80ffbdc)') called at blib/lib/HTML/Mason/Tests.pm line 205 eval {...} called at blib/lib/HTML/Mason/Tests.pm line 201 HTML::Mason::Tests::run('HTML::Mason::Tests=HASH(0x80ffbdc)') called at t/10-cache.t line 16 Result for cache: cache not ok 1 Running cache_self (#2): cache_self functionality Error running cache_self: error while executing /cache/support/cache_self_test: no tie class defined! at blib/lib/HTML/Mason/Utils.pm line 32. HTML::Mason::Interp::__ANON__('no tie class defined! at blib/lib/HTML/Mason/Utils.pm line 32.\x{a}') called at blib/lib/HTML/Mason/Utils.pm line 32 HTML::Mason::Utils::access_data_cache('action','retrieve','cache_file','/home/kriegjcb/.cpan/build/HTML-Mason-1.03/mason_tests/data/cache/cache+2fsupport+2fcache_self_test','key','fandango') called at blib/lib/HTML/Mason/Request.pm line 231 HTML::Mason::Request::cache('HTML::Mason::Request=HASH(0x83e8b58)','action','retrieve','key','fandango') called at blib/lib/HTML/Mason/Request.pm line 259 HTML::Mason::Request::cache_self('HTML::Mason::Request=HASH(0x83e8b58)','key','fandango') called at /home/kriegjcb/.cpan/build/HTML-Mason-1.03/mason_tests/data/obj/cache/support/cache_self_test line 15 HTML::Mason::Commands::__ANON__('var',1) called at blib/lib/HTML/Mason/Component.pm line 131 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x83f4644)','var',1) called at blib/lib/HTML/Mason/Request.pm line 651 eval {...} called at blib/lib/HTML/Mason/Request.pm line 651 HTML::Mason::Request::comp('HTML::Mason::Request=HASH(0x83e8b58)','support/cache_self_test','var',1) called at /home/kriegjcb/.cpan/build/HTML-Mason-1.03/mason_tests/data/obj/cache/cache_self line 15 HTML::Mason::Commands::__ANON__() called at blib/lib/HTML/Mason/Component.pm line 131 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x83f7678)') called at blib/lib/HTML/Mason/Request.pm line 653 eval {...} called at blib/lib/HTML/Mason/Request.pm line 653 HTML::Mason::Request::comp('HTML::Mason::Request=HASH(0x83e8b58)','HASH(0x8406db4)','HTML::Mason::Component::FileBased=HASH(0x83f7678)') called at blib/lib/HTML/Mason/Request.pm line 159 eval {...} called at blib/lib/HTML/Mason/Request.pm line 159 HTML::Mason::Request::exec('HTML::Mason::Request=HASH(0x83e8b58)','/cache/cache_self') called at blib/lib/HTML/Mason/Interp.pm line 242 HTML::Mason::Interp::exec('HTML::Mason::Interp=HASH(0x83e9ee4)','/cache/cache_self') called at blib/lib/HTML/Mason/Tests.pm line 426 eval {...} called at blib/lib/HTML/Mason/Tests.pm line 426 HTML::Mason::Tests::_run_test('HTML::Mason::Tests=HASH(0x80ffbdc)') called at blib/lib/HTML/Mason/Tests.pm line 366 HTML::Mason::Tests::_run_tests('HTML::Mason::Tests=HASH(0x80ffbdc)') called at blib/lib/HTML/Mason/Tests.pm line 205 eval {...} called at blib/lib/HTML/Mason/Tests.pm line 201 HTML::Mason::Tests::run('HTML::Mason::Tests=HASH(0x80ffbdc)') called at t/10-cache.t line 16 Result for cache: cache_self not ok 2 Running keys (#3): test $m->cache( action => 'keys' ) Error running keys: error while executing /cache/keys: no tie class defined! at blib/lib/HTML/Mason/Utils.pm line 32. HTML::Mason::Interp::__ANON__('no tie class defined! at blib/lib/HTML/Mason/Utils.pm line 32.\x{a}') called at blib/lib/HTML/Mason/Utils.pm line 32 HTML::Mason::Utils::access_data_cache('value','foo','action','store','cache_file','/home/kriegjcb/.cpan/build/HTML-Mason-1.03/mason_tests/data/cache/cache+2fkeys','key','foo') called at blib/lib/HTML/Mason/Request.pm line 231 HTML::Mason::Request::cache('HTML::Mason::Request=HASH(0x83e9ddc)','action','store','key','foo','value','foo') called at /home/kriegjcb/.cpan/build/HTML-Mason-1.03/mason_tests/data/obj/cache/keys line 15 HTML::Mason::Commands::__ANON__() called at blib/lib/HTML/Mason/Component.pm line 131 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8424540)') called at blib/lib/HTML/Mason/Request.pm line 653 eval {...} called at blib/lib/HTML/Mason/Request.pm line 653 HTML::Mason::Request::comp('HTML::Mason::Request=HASH(0x83e9ddc)','HASH(0x83f4620)','HTML::Mason::Component::FileBased=HASH(0x8424540)') called at blib/lib/HTML/Mason/Request.pm line 159 eval {...} called at blib/lib/HTML/Mason/Request.pm line 159 HTML::Mason::Request::exec('HTML::Mason::Request=HASH(0x83e9ddc)','/cache/keys') called at blib/lib/HTML/Mason/Interp.pm line 242 HTML::Mason::Interp::exec('HTML::Mason::Interp=HASH(0x83f7558)','/cache/keys') called at blib/lib/HTML/Mason/Tests.pm line 426 eval {...} called at blib/lib/HTML/Mason/Tests.pm line 426 HTML::Mason::Tests::_run_test('HTML::Mason::Tests=HASH(0x80ffbdc)') called at blib/lib/HTML/Mason/Tests.pm line 366 HTML::Mason::Tests::_run_tests('HTML::Mason::Tests=HASH(0x80ffbdc)') called at blib/lib/HTML/Mason/Tests.pm line 205 eval {...} called at blib/lib/HTML/Mason/Tests.pm line 201 HTML::Mason::Tests::run('HTML::Mason::Tests=HASH(0x80ffbdc)') called at t/10-cache.t line 16 Result for cache: keys not ok 3 FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t/11-inherit........ 1..3 Running inherit tests (3 tests): Test inheritance Running bypass (#1): test inheritance that skips one autohandler Result for inherit: bypass ok 1 Running ignore (#2): turning off inheritance Result for inherit: ignore ok 2 Running normal (#3): normal inheritance path Result for inherit: normal ok 3 ok t/12-taint..........1..1 ok 1 ok t/13-errors......... 1..2 Running errors tests (2 tests): Test that errors are generated properly Running _make_error (#1): Exercise possible failure for Parser.pm _make_error method Result for errors: _make_error ok 1 Running backtrace (#2): Make sure trace for second error is accurate when first error is caught by eval Result for errors: backtrace ok 2 ok Failed Test Status Wstat Total Fail Failed List of Failed --------------------------------------------------------------------------------t/07-interp.t 0 9 28 20 71.43% 9-28 t/09-component.t 5 1 20.00% 1 t/10-cache.t 3 3 100.00% 1-3 Failed 3/13 test scripts, 76.92% okay. 24/141 subtests failed, 82.98% okay. Jost -- Summary of my perl5 (revision 5.0 version 7 subversion 1) configuration: Platform: osname=linux, osvers=2.2.16, archname=i686-linux uname='linux cmc01se 2.2.16 #1 wed aug 2 20:03:33 gmt 2000 i686 unknown ' config_args='-Duseperlio=no -Dusedevel -des' hint=previous, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil libc=, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
