PATH=/usr/bin:/bin
Start 2013-06-14T08:29:59
ActivePerl-1800 CPAN-2.00
Reading '/Users/fly1800/var/cpan/Metadata'
Database was generated on Fri, 14 Jun 2013 13:08:36 GMT
Running make for D/DM/DMUEY/Test-Mock-Cmd-0.6.tar.gz
Checksum for /net/nas/data/cpan/authors/id/D/DM/DMUEY/Test-Mock-Cmd-0.6.tar.gz ok
Test-Mock-Cmd-0.6/
Test-Mock-Cmd-0.6/Build.PL
Test-Mock-Cmd-0.6/Changes
Test-Mock-Cmd-0.6/MANIFEST
Test-Mock-Cmd-0.6/META.json
Test-Mock-Cmd-0.6/META.yml
Test-Mock-Cmd-0.6/Makefile.PL
Test-Mock-Cmd-0.6/README
Test-Mock-Cmd-0.6/lib/
Test-Mock-Cmd-0.6/t/
Test-Mock-Cmd-0.6/t/00.load.t
Test-Mock-Cmd-0.6/t/01.system.t
Test-Mock-Cmd-0.6/t/02.qx.t
Test-Mock-Cmd-0.6/t/03.exec.t
Test-Mock-Cmd-0.6/t/perlcritic.t
Test-Mock-Cmd-0.6/t/perltidy.t
Test-Mock-Cmd-0.6/t/pod-coverage.t
Test-Mock-Cmd-0.6/t/pod.t
Test-Mock-Cmd-0.6/lib/Test/
Test-Mock-Cmd-0.6/lib/Test/Mock/
Test-Mock-Cmd-0.6/lib/Test/Mock/Cmd/
Test-Mock-Cmd-0.6/lib/Test/Mock/Cmd.pm
Test-Mock-Cmd-0.6/lib/Test/Mock/Cmd/TestUtils/
Test-Mock-Cmd-0.6/lib/Test/Mock/Cmd/TestUtils.pm
Test-Mock-Cmd-0.6/lib/Test/Mock/Cmd/TestUtils/X.pm
Test-Mock-Cmd-0.6/lib/Test/Mock/Cmd/TestUtils/Y.pm
CPAN.pm: Building D/DM/DMUEY/Test-Mock-Cmd-0.6.tar.gz
>>> /Users/fly1800/ap1800-297214/bin/perl-dynamic Makefile.PL
Warning: prerequisite Test::Carp 0 not found.
Checking if your kit is complete...
Looks good
Writing Makefile for Test::Mock::Cmd
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- DMUEY/Test-Mock-Cmd-0.6.tar.gz ----
Test::Carp [requires]
Running make test
Delayed until after prerequisites
Running test for module 'Test::Carp'
Running make for D/DM/DMUEY/Test-Carp-0.2.tar.gz
Checksum for /net/nas/data/cpan/authors/id/D/DM/DMUEY/Test-Carp-0.2.tar.gz ok
Test-Carp-0.2/
Test-Carp-0.2/Build.PL
Test-Carp-0.2/Changes
Test-Carp-0.2/lib/
Test-Carp-0.2/Makefile.PL
Test-Carp-0.2/MANIFEST
Test-Carp-0.2/META.yml
Test-Carp-0.2/README
Test-Carp-0.2/t/
Test-Carp-0.2/t/00.load.t
Test-Carp-0.2/t/01.import.t
Test-Carp-0.2/t/02.functions.t
Test-Carp-0.2/t/perlcritic.t
Test-Carp-0.2/t/pod-coverage.t
Test-Carp-0.2/t/pod.t
Test-Carp-0.2/lib/Test/
Test-Carp-0.2/lib/Test/Carp.pm
CPAN.pm: Building D/DM/DMUEY/Test-Carp-0.2.tar.gz
>>> /Users/fly1800/ap1800-297214/bin/perl-dynamic Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Test::Carp
Writing MYMETA.yml and MYMETA.json
>>> make
cp lib/Test/Carp.pm blib/lib/Test/Carp.pm
Manifying blib/man3/Test::Carp.3
DMUEY/Test-Carp-0.2.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /Users/fly1800/ap1800-297214/bin/perl-dynamic "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
# Testing Test::Carp 0.2
t/00.load.t .......
1..1
ok 1 - use Test::Carp;
ok
# Testing Test::Carp 0.2
t/01.import.t .....
1..36
ok 1 - does_carp() not imported
ok 2 - does_cluck() not imported
ok 3 - does_croak() not imported
ok 4 - does_confess() not imported
ok 5 - does_carp_that_matches() not imported
ok 6 - does_cluck_that_matches() not imported
ok 7 - does_croak_that_matches() not imported
ok 8 - does_confess_that_matches() not imported
ok 9 - does_carp() imported
ok 10 - does_cluck() imported
ok 11 - does_croak() imported
ok 12 - does_confess() imported
ok 13 - does_carp_that_matches() imported
ok 14 - does_cluck_that_matches() imported
ok 15 - does_croak_that_matches() imported
ok 16 - does_confess_that_matches() imported
ok 17 - set ok() via import (i.e. use()) - is new
ok 18 - set ok() via import (i.e. use()) - not orig
ok 19 - does_carp() not imported
ok 20 - does_cluck() not imported
ok 21 - does_croak() not imported
ok 22 - does_confess() not imported
ok 23 - does_carp_that_matches() not imported
ok 24 - does_cluck_that_matches() not imported
ok 25 - does_croak_that_matches() not imported
ok 26 - does_confess_that_matches() not imported
ok 27 - does_carp() imported
ok 28 - does_cluck() imported
ok 29 - does_croak() imported
ok 30 - does_confess() imported
ok 31 - does_carp_that_matches() imported
ok 32 - does_cluck_that_matches() imported
ok 33 - does_croak_that_matches() imported
ok 34 - does_confess_that_matches() imported
ok 35 - set ok() via import (i.e. use()) - is new
ok 36 - set ok() via import (i.e. use()) - not orig
ok
# Testing Test::Carp 0.2
t/02.functions.t ..
1..34
ok 1 - use Test::Carp;
ok 2 - carp() was called (I am /usr/bin/girl here me carp: args are )
ok 3 - carp() was called (I am /usr/bin/girl here me carp: args are 1 2 3)
ok 4 - carp() was called (w/ 'I am /usr/bin/girl here me carp: args are ') and matches '(?^:args are )'
ok 5 - carp() was called (w/ 'I am /usr/bin/girl here me carp: args are 1 2 3') and matches '(?^:args are 1 2 3)'
ok 6 - carp() was called (w/ 'I am /usr/bin/girl here me carp: args are ') and matches '(?^:args are\s+)'
ok 7 - carp() was called (w/ 'I am /usr/bin/girl here me carp: args are 1 2 3') and matches '(?^:args are(?:\s\d){3})'
ok 8 - carp() was called w/ empty string argument
ok 9 - carp() was called w/ empty string argument
ok 10 - carp() was called w/ undefined argument
ok 11 - carp() was called w/ undefined argument
ok 12 - carp() was called w/ undefined argument
ok 13 - carp() was called
ok 14 - carp() was called
ok 15 - carp() was called and matches '(?^:args are )'
ok 16 - carp() was called and matches '(?^:args are 1 2 3)'
ok 17 - carp() was called and matches '(?^:args are\s+)'
ok 18 - carp() was called and matches '(?^:args are(?:\s\d){3})'
ok 19 - carp() was called and matches ''
ok 20 - carp() was called and matches ''
ok 21 - carp() was called and matches 'undef()'
ok 22 - carp() was called and matches 'undef()'
ok 23 - carp() was called and matches 'undef()'
ok 24 - croak() was called (goodbye cruel cruel world: args are )
ok 25 - croak() was called (goodbye cruel cruel world: args are 1 2 3)
ok 26 - croak() was called (w/ 'goodbye cruel cruel world: args are ') and matches '(?^:args are )'
ok 27 - croak() was called (w/ 'goodbye cruel cruel world: args are 1 2 3') and matches '(?^:args are 1 2 3)'
ok 28 - croak() was called (w/ 'goodbye cruel cruel world: args are ') and matches '(?^:args are\s+)'
ok 29 - croak() was called (w/ 'goodbye cruel cruel world: args are 1 2 3') and matches '(?^:args are(?:\s\d){3})'
ok 30 - croak() was called w/ empty string argument
ok 31 - croak() was called w/ empty string argument
ok 32 - croak() was called w/ undefined argument
ok 33 - croak() was called w/ undefined argument
ok 34 - croak() was called w/ undefined argument
ok
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::Carp
ok
t/pod.t ...........
1..1
ok 1 - POD test for blib/lib/Test/Carp.pm
ok
All tests successful.
Files=6, Tests=73, 4 wallclock secs ( 0.05 usr 0.02 sys + 1.08 cusr 0.15 csys = 1.30 CPU)
Result: PASS
DMUEY/Test-Carp-0.2.tar.gz
make test TEST_VERBOSE=1 -- OK
Daniel Muey <dmuey@cpan.org>
test your code for calls to Carp functions
>>> (cd /Users/fly1800/var/cpan/build/Test-Carp-0.2-wRQ6BQ && tar cvf - Test-Carp-0.2.ppd blib) | gzip -c >/Users/fly1800/var/REPO/D/DM/DMUEY/Test-Carp-0.2.tar.gz
Test-Carp-0.2.ppd
blib/
blib/lib/
blib/lib/Test/
blib/lib/Test/Carp.pm
blib/man3/
blib/man3/Test::Carp.3
>>> mv /Users/fly1800/var/cpan/build/Test-Carp-0.2-wRQ6BQ/Test-Carp-0.2.ppd /Users/fly1800/var/REPO/D/DM/DMUEY
Can't log to '/Users/fly1800/var/tmp/Library/Logs/ppm4.log': No such file or directory at /Users/fly1800/lib/ActivePerl/PPM/Logger.pm line 95.
[InstallArea.pm:339] Created /Users/fly1800/var/megalib/etc/ppm-megalib-dirty
[InstallArea.pm:362] Installing Test-Carp with id 2503
[InstallArea.pm:369] Copy /tmp/ppm-aOTZZO/Test-Carp-0.2/blib/html --> /Users/fly1800/var/megalib/html
[InstallArea.pm:548] /Users/fly1800/var/megalib/html/site/lib/Test/Carp.html written
[InstallArea.pm:369] Copy /tmp/ppm-aOTZZO/Test-Carp-0.2/blib/lib --> /Users/fly1800/var/megalib
[InstallArea.pm:548] /Users/fly1800/var/megalib/Test/Carp.pm written
[InstallArea.pm:418] Commit install
[InstallArea.pm:454] unlink /Users/fly1800/var/megalib/etc/ppm-megalib-dirty
Running make for D/DM/DMUEY/Test-Mock-Cmd-0.6.tar.gz
Prepending /Users/fly1800/var/cpan/build/Test-Carp-0.2-wRQ6BQ/blib/arch /Users/fly1800/var/cpan/build/Test-Carp-0.2-wRQ6BQ/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory /Users/fly1800/var/cpan/build/Test-Mock-Cmd-0.6-w3hQ3F
Prepending /Users/fly1800/var/cpan/build/Test-Carp-0.2-wRQ6BQ/blib/arch /Users/fly1800/var/cpan/build/Test-Carp-0.2-wRQ6BQ/blib/lib to PERL5LIB for 'make'
CPAN.pm: Building D/DM/DMUEY/Test-Mock-Cmd-0.6.tar.gz
>>> make
cp lib/Test/Mock/Cmd/TestUtils/X.pm blib/lib/Test/Mock/Cmd/TestUtils/X.pm
cp lib/Test/Mock/Cmd.pm blib/lib/Test/Mock/Cmd.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::TestUtils.3
Manifying blib/man3/Test::Mock::Cmd.3
Manifying blib/man3/Test::Mock::Cmd::TestUtils::Y.3
Manifying blib/man3/Test::Mock::Cmd::TestUtils::X.3
DMUEY/Test-Mock-Cmd-0.6.tar.gz
make -- OK
Prepending /Users/fly1800/var/cpan/build/Test-Carp-0.2-wRQ6BQ/blib/arch /Users/fly1800/var/cpan/build/Test-Carp-0.2-wRQ6BQ/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /Users/fly1800/ap1800-297214/bin/perl-dynamic "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
# Testing Test::Mock::Cmd 0.6
t/00.load.t .......
1..47
ok 1 - use Test::Mock::Cmd;
ok 2 - use Test::Mock::Cmd;
ok 3 - use Test::Mock::Cmd;
ok 4 - use Test::Mock::Cmd;
ok 5 - use Test::Mock::Cmd;
ok 6 - use Test::Mock::Cmd;
ok 7 - use Test::Mock::Cmd;
ok 8 - use Test::Mock::Cmd;
ok 9 - use Test::Mock::Cmd;
ok 10 - use Test::Mock::Cmd;
ok 11 - use Test::Mock::Cmd;
ok 12 - use Test::Mock::Cmd;
ok 13 - use Test::Mock::Cmd;
ok 14 - use Test::Mock::Cmd;
ok 15 - use Test::Mock::Cmd;
ok 16 - use Test::Mock::Cmd;
ok 17 - use Test::Mock::Cmd;
ok 18 - use Test::Mock::Cmd;
foo
ok 19 - croak() was called (w/ 'Test::Mock::Cmd->import() requires a 1-3 key hash, 1 code/hash reference, or 3 code/hash references as arguments') and matches '(?^:import\(\) requires a 1-3 key hash, 1 code/hash reference, or 3 code/hash references as arguments)'
ok 20 - croak() was called (w/ 'Key is not system, exec, or qr') and matches '(?^:Key is not system\, exec\, or qr)'
ok 21 - croak() was called (w/ 'Key is not system, exec, or qr') and matches '(?^:Key is not system\, exec\, or qr)'
ok 22 - croak() was called (w/ 'Key is not system, exec, or qr') and matches '(?^:Key is not system\, exec\, or qr)'
ok 23 - croak() was called (w/ 'Key is not system, exec, or qr') and matches '(?^:Key is not system\, exec\, or qr)'
ok 24 - croak() was called (w/ 'Not a CODE or HASH reference') and matches '(?^:Not a CODE or HASH reference)'
ok 25 - croak() was called (w/ 'Not a CODE or HASH reference') and matches '(?^:Not a CODE or HASH reference)'
ok 26 - croak() was called (w/ 'Not a CODE or HASH reference') and matches '(?^:Not a CODE or HASH reference)'
ok 27 - croak() was called (w/ 'Not a CODE or HASH reference') and matches '(?^:Not a CODE or HASH reference)'
ok 28 - croak() was called (w/ 'Not a CODE or HASH reference') and matches '(?^:Not a CODE or HASH reference)'
ok 29 - croak() was called (w/ 'Not a CODE or HASH reference') and matches '(?^:Not a CODE or HASH reference)'
ok 30 - croak() was called (w/ 'Not a CODE or HASH reference') and matches '(?^:Not a CODE or HASH reference)'
ok 31 - croak() was called (w/ 'Not a CODE or HASH reference') and matches '(?^:Not a CODE or HASH reference)'
ok 32 - croak() was called (w/ 'Key is not system, exec, or qr') and matches '(?^:Key is not system\, exec\, or qr)'
ok 33 - croak() was called (w/ 'Not a CODE or HASH reference') and matches '(?^:Not a CODE or HASH reference)'
ok 34 - croak() was called (w/ 'Key is not system, exec, or qr') and matches '(?^:Key is not system\, exec\, or qr)'
ok 35 - transmogrify returns CODE when given a hash
ok 36 - transmogrify given known key does key CODE
ok 37 - transmogrify given unknown key does given default CODE
ok 38 - subsequent transmogrify returns CODE when given a hash
ok 39 - subsequent transmogrify given known key does key CODE
ok 40 - subsequent transmogrify given unknown key does given default CODE
ok 41 - transmogrify not changed by subsequent: returns CODE when given a hash
ok 42 - transmogrify not changed by subsequent: given known key does key CODE
ok 43 - transmogrify not changed by subsequent: given unknown key does given default CODE
ok 44 - transmogrify returns CODE when given empty hash
ok 45 - transmogrify: given key in other check does its own CODE
ok 46 - transmogrify: given key in other check does its own CODE
ok 47 - transmogrify emptyhash: given unknown key does given default CODE
ok
# Testing Test::Mock::Cmd 0.6
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.6
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
ok 13 - /bin/echo qx scalar
ok 14 - /bin/echo qx array
ok 15 - qx scalar after mocking
ok 16 - qx array after mocking
ok 17 - /bin/echo back ticks scalar
ok 18 - /bin/echo back ticks array
ok 19 - back ticks scalar after mocking
ok 20 - back ticks array after mocking
ok 21 - /bin/echo readpipe scalar
ok 22 - /bin/echo readpipe array
ok 23 - readpipe scalar after mocking
ok 24 - readpipe array after mocking
ok 25 - /bin/echo QX
ok 26 - /bin/echo QX
ok 27 - qx class scalar after mocking
ok 28 - qx class array after mocking
ok 29 - /bin/echo BT
ok 30 - /bin/echo BT
ok 31 - back ticks class scalar after mocking
ok 32 - back ticks class array after mocking
ok 33 - /bin/echo class readpipe scalar
ok 34 - /bin/echo class readpipe array
ok 35 - qx class scalar after mocking
ok 36 - qx class array after mocking
ok 37 - qx class scalar before mocking - not affected
ok 38 - qx class array before mocking- not affected
ok 39 - back ticks class scalar before mocking - not affected
ok 40 - back ticks class array before mocking - not affected
ok 41 - qx class scalar before mocking - not affected
ok 42 - qx class array before mocking - not affected
ok
# Testing Test::Mock::Cmd 0.6
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
t/perlcritic.t .... skipped: Critic tests are only run in RELEASE_TESTING mode.
t/perltidy.t ...... skipped: PerlTidy tests are only run in RELEASE_TESTING mode.
t/pod-coverage.t .. skipped: POD tests are only run in RELEASE_TESTING mode.
t/pod.t ........... skipped: POD tests are only run in RELEASE_TESTING mode.
All tests successful.
Files=8, Tests=121, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.28 cusr 0.13 csys = 0.49 CPU)
Result: PASS
DMUEY/Test-Mock-Cmd-0.6.tar.gz
make test TEST_VERBOSE=1 -- OK
Daniel Muey <dmuey@cpan.org>
Mock system(), exec(), and qx() for testing
>>> (cd /Users/fly1800/var/cpan/build/Test-Mock-Cmd-0.6-w3hQ3F && tar cvf - Test-Mock-Cmd-0.6.ppd blib) | gzip -c >/Users/fly1800/var/REPO/D/DM/DMUEY/Test-Mock-Cmd-0.6.tar.gz
Test-Mock-Cmd-0.6.ppd
blib/
blib/lib/
blib/lib/Test/
blib/lib/Test/Mock/
blib/lib/Test/Mock/Cmd/
blib/lib/Test/Mock/Cmd/TestUtils/
blib/lib/Test/Mock/Cmd/TestUtils/X.pm
blib/lib/Test/Mock/Cmd/TestUtils/Y.pm
blib/lib/Test/Mock/Cmd/TestUtils.pm
blib/lib/Test/Mock/Cmd.pm
blib/man3/
blib/man3/Test::Mock::Cmd.3
blib/man3/Test::Mock::Cmd::TestUtils.3
blib/man3/Test::Mock::Cmd::TestUtils::X.3
blib/man3/Test::Mock::Cmd::TestUtils::Y.3
>>> mv /Users/fly1800/var/cpan/build/Test-Mock-Cmd-0.6-w3hQ3F/Test-Mock-Cmd-0.6.ppd /Users/fly1800/var/REPO/D/DM/DMUEY
[InstallArea.pm:339] Created /Users/fly1800/var/megalib/etc/ppm-megalib-dirty
[InstallArea.pm:362] Installing Test-Mock-Cmd with id 2504
[InstallArea.pm:369] Copy /tmp/ppm-fu3GEF/Test-Mock-Cmd-0.6/blib/html --> /Users/fly1800/var/megalib/html
[InstallArea.pm:548] /Users/fly1800/var/megalib/html/site/lib/Test/Mock/Cmd/TestUtils/X.html written
[InstallArea.pm:548] /Users/fly1800/var/megalib/html/site/lib/Test/Mock/Cmd/TestUtils/Y.html written
[InstallArea.pm:548] /Users/fly1800/var/megalib/html/site/lib/Test/Mock/Cmd/TestUtils.html written
[InstallArea.pm:548] /Users/fly1800/var/megalib/html/site/lib/Test/Mock/Cmd.html written
[InstallArea.pm:369] Copy /tmp/ppm-fu3GEF/Test-Mock-Cmd-0.6/blib/lib --> /Users/fly1800/var/megalib
[InstallArea.pm:548] /Users/fly1800/var/megalib/Test/Mock/Cmd/TestUtils/X.pm written
[InstallArea.pm:548] /Users/fly1800/var/megalib/Test/Mock/Cmd/TestUtils/Y.pm written
[InstallArea.pm:548] /Users/fly1800/var/megalib/Test/Mock/Cmd/TestUtils.pm written
[InstallArea.pm:548] /Users/fly1800/var/megalib/Test/Mock/Cmd.pm written
[InstallArea.pm:418] Commit install
[InstallArea.pm:454] unlink /Users/fly1800/var/megalib/etc/ppm-megalib-dirty
Finished 2013-06-14T08:30:20