PATH=/usr/bin:/bin Start 2011-12-16T04:06:46 ActivePerl-818 CPAN-1.9402 Going to read '/home/fly818/var/cpan/Metadata' Database was generated on Fri, 16 Dec 2011 10:28:22 GMT Running make for D/DM/DMUEY/Test-Mock-Cmd-0.5.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DM/DMUEY/Test-Mock-Cmd-0.5.tar.gz ok Will not use Archive::Tar, need 1.00 Test-Mock-Cmd-0.5/ Test-Mock-Cmd-0.5/Build.PL Test-Mock-Cmd-0.5/Changes Test-Mock-Cmd-0.5/lib/ Test-Mock-Cmd-0.5/Makefile.PL Test-Mock-Cmd-0.5/MANIFEST Test-Mock-Cmd-0.5/META.yml Test-Mock-Cmd-0.5/README Test-Mock-Cmd-0.5/t/ Test-Mock-Cmd-0.5/t/00.load.t Test-Mock-Cmd-0.5/t/01.system.t Test-Mock-Cmd-0.5/t/02.qx.t Test-Mock-Cmd-0.5/t/03.exec.t Test-Mock-Cmd-0.5/t/perlcritic.t Test-Mock-Cmd-0.5/t/pod-coverage.t Test-Mock-Cmd-0.5/t/pod.t Test-Mock-Cmd-0.5/lib/Test/ Test-Mock-Cmd-0.5/lib/Test/Mock/ Test-Mock-Cmd-0.5/lib/Test/Mock/Cmd/ Test-Mock-Cmd-0.5/lib/Test/Mock/Cmd.pm Test-Mock-Cmd-0.5/lib/Test/Mock/Cmd/TestUtils/ Test-Mock-Cmd-0.5/lib/Test/Mock/Cmd/TestUtils.pm Test-Mock-Cmd-0.5/lib/Test/Mock/Cmd/TestUtils/X.pm Test-Mock-Cmd-0.5/lib/Test/Mock/Cmd/TestUtils/Y.pm CPAN.pm: Going to build D/DM/DMUEY/Test-Mock-Cmd-0.5.tar.gz >>> /home/fly818/ap818/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Test::Mock::Cmd Writing MYMETA.yml and MYMETA.json >>> make cp lib/Test/Mock/Cmd.pm blib/lib/Test/Mock/Cmd.pm cp lib/Test/Mock/Cmd/TestUtils/X.pm blib/lib/Test/Mock/Cmd/TestUtils/X.pm cp lib/Test/Mock/Cmd/TestUtils/Y.pm blib/lib/Test/Mock/Cmd/TestUtils/Y.pm cp lib/Test/Mock/Cmd/TestUtils.pm blib/lib/Test/Mock/Cmd/TestUtils.pm Manifying blib/man3/Test::Mock::Cmd.3 Manifying blib/man3/Test::Mock::Cmd::TestUtils::X.3 Manifying blib/man3/Test::Mock::Cmd::TestUtils::Y.3 Manifying blib/man3/Test::Mock::Cmd::TestUtils.3 DMUEY/Test-Mock-Cmd-0.5.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/fly818/ap818/bin/perl-static "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # Testing Test::Mock::Cmd 0.5 t/00.load.t ....... 1..11 ok 1 - use Test::Mock::Cmd; ok 2 - use Test::Mock::Cmd; foo ok 3 - croak() was called (w/ 'Test::Mock::Cmd->import() requires a hash, 1 code reference, or 3 code references as arguments') and matches '(?-xism:import\(\) requires a hash, 1 code reference, or 3 code references as arguments)' ok 4 - croak() was called (w/ 'Key is not system, exec, or qr') and matches '(?-xism:Key is not system, exec, or qr)' ok 5 - croak() was called (w/ 'Key is not system, exec, or qr') and matches '(?-xism:Key is not system, exec, or qr)' ok 6 - croak() was called (w/ 'Not a CODE reference') and matches '(?-xism:Not a CODE reference)' ok 7 - croak() was called (w/ 'Not a CODE reference') and matches '(?-xism:Not a CODE reference)' ok 8 - croak() was called (w/ 'Not a CODE reference') and matches '(?-xism:Not a CODE reference)' ok 9 - croak() was called (w/ 'Not a CODE reference') and matches '(?-xism:Not a CODE reference)' ok 10 - croak() was called (w/ 'Not a CODE reference') and matches '(?-xism:Not a CODE reference)' ok 11 - croak() was called (w/ 'Key is not system, exec, or qr') and matches '(?-xism:Key is not system, exec, or qr)' ok # Testing Test::Mock::Cmd 0.5 t/01.system.t ..... 1..20 ok 1 - unmocked system() in other package defined before mock, RC true (list) ok 2 - unmocked system() in other package defined before mock, list ok 3 - unmocked system() in other package defined before mock, RC true (string) ok 4 - unmocked system() in other package defined before mock, string ok 5 - unmocked system() RC true (list) ok 6 - unmocked system() list ok 7 - unmocked system() RC true (string) ok 8 - unmocked system() string ok 9 - system() mocked ok 10 - system() mocked RV ok 11 - system() in pkg loaded after mocking is mocked ok 12 - system() in an other class (loaded after mocking) mocked RV list ok 13 - system call defined before mocking not affected RC correct (list) ok 14 - orig_system() list ok 15 - system call defined before mocking not affected RC correct (string) ok 16 - orig_system() list ok 17 - orig_system() RC correct (list) ok 18 - orig_system() list ok 19 - orig_system() RC correct (string) ok 20 - orig_system() string ok # Testing Test::Mock::Cmd 0.5 # Failed test 'qx scalar after mocking' # at t/02.qx.t line 57. # got: 'qx scalar # ' # expected: '42' # Failed test 'qx array after mocking' # at t/02.qx.t line 58. # got: 'qx array # ' # expected: '42' # Failed test 'back ticks scalar after mocking' # at t/02.qx.t line 62. # got: 'back ticks scalar # ' # expected: '42' # Failed test 'back ticks array after mocking' # at t/02.qx.t line 63. # got: 'back ticks array # ' # expected: '42' # Failed test 'qx class scalar after mocking' # at t/02.qx.t line 72. # got: 'QX # ' # expected: '42' # Failed test 'qx class array after mocking' # at t/02.qx.t line 73. # got: 'QX # ' # expected: '42' # Failed test 'back ticks class scalar after mocking' # at t/02.qx.t line 77. # got: 'BT # ' # expected: '42' # Failed test 'back ticks class array after mocking' # at t/02.qx.t line 78. # got: 'BT # ' # expected: '42' # Looks like you planned 42 tests but ran 34. # Looks like you failed 8 tests of 34 run. t/02.qx.t ......... 1..42 ok 1 - qx scalar before mocking ok 2 - qx array before mocking ok 3 - back ticks scalar before mocking ok 4 - back ticks array before mocking ok 5 - readpipe scalar before mocking ok 6 - readpipe array before mocking ok 7 - qx class scalar before mocking ok 8 - qx class array before mocking ok 9 - back ticks class scalar before mocking ok 10 - back ticks class array before mocking ok 11 - qx class scalar before mocking ok 12 - qx class array before mocking not ok 13 - qx scalar after mocking not ok 14 - qx array after mocking not ok 15 - back ticks scalar after mocking not ok 16 - back ticks array after mocking ok 17 - /bin/echo readpipe scalar ok 18 - /bin/echo readpipe array ok 19 - readpipe scalar after mocking ok 20 - readpipe array after mocking not ok 21 - qx class scalar after mocking not ok 22 - qx class array after mocking not ok 23 - back ticks class scalar after mocking not ok 24 - back ticks class array after mocking ok 25 - /bin/echo class readpipe scalar ok 26 - /bin/echo class readpipe array ok 27 - qx class scalar after mocking ok 28 - qx class array after mocking ok 29 - qx class scalar before mocking - not affected ok 30 - qx class array before mocking- not affected ok 31 - back ticks class scalar before mocking - not affected ok 32 - back ticks class array before mocking - not affected ok 33 - qx class scalar before mocking - not affected ok 34 - qx class array before mocking - not affected Dubious, test returned 8 (wstat 2048, 0x800) Failed 16/42 subtests # Testing Test::Mock::Cmd 0.5 t/03.exec.t ....... 1..12 ok 1 - unmocked exec() in other package defined before mock, list ok 2 - unmocked exec() in other package defined before mock, string ok 3 - unmocked exec() defined before mock, list ok 4 - unmocked exec() defined before mock, string ok 5 - exec() mocked ok 6 - exec() mocked RV ok 7 - exec() in pkg loaded after mocking is mocked ok 8 - exec() in an other class (loaded after mocking) mocked RV list ok 9 - exec call defined before mocking list not affected ok 10 - exec call defined before mocking string not affected ok 11 - orig_exec list ok 12 - orig_exec string ok Couldn't require Perl::Critic::Policy::BuiltinFunctions::ProhibitLvalueSubstr : Can't locate object method "new" via package "version" (perhaps you forgot to load "version"?) at /home/fly818/var/megalib/Perl/Critic/Policy/BuiltinFunctions/ProhibitLvalueSubstr.pm line 26. Compilation failed in require at (eval 61) line 3. at /home/fly818/var/megalib/Module/Pluggable.pm line 28 t/perlcritic.t .... skipped: $ENV{'do_perl_critic_tests'} must be true to run these 'development only' tests t/pod-coverage.t .. 1..1 ok 1 - Pod coverage on Test::Mock::Cmd ok t/pod.t ........... 1..4 ok 1 - POD test for blib/lib/Test/Mock/Cmd.pm ok 2 - POD test for blib/lib/Test/Mock/Cmd/TestUtils.pm ok 3 - POD test for blib/lib/Test/Mock/Cmd/TestUtils/X.pm ok 4 - POD test for blib/lib/Test/Mock/Cmd/TestUtils/Y.pm ok Test Summary Report ------------------- t/02.qx.t (Wstat: 2048 Tests: 34 Failed: 8) Failed tests: 13-16, 21-24 Non-zero exit status: 8 Parse errors: Bad plan. You planned 42 tests but ran 34. Files=7, Tests=82, 3 wallclock secs ( 0.02 usr 0.01 sys + 0.84 cusr 0.26 csys = 1.13 CPU) Result: FAIL Failed 1/7 test programs. 8/82 subtests failed. make: *** [test_dynamic] Error 255 DMUEY/Test-Mock-Cmd-0.5.tar.gz make test TEST_VERBOSE=1 -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DMUEY/Test-Mock-Cmd-0.5.tar.gz Finished 2011-12-16T04:06:52