PATH=/opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin
Start 2013-02-22T18:22:38
ActivePerl-1205 CPAN-1.9402
Going to read '/export/home/fly1232/var/cpan/Metadata'
Database was generated on Sat, 23 Feb 2013 01:07:14 GMT
Running make for D/DA/DAGOLDEN/Path-Tiny-0.013.tar.gz
Checksum for /net/nas/data/cpan/authors/id/D/DA/DAGOLDEN/Path-Tiny-0.013.tar.gz ok
Path-Tiny-0.013/
Path-Tiny-0.013/Changes
Path-Tiny-0.013/CONTRIBUTING
Path-Tiny-0.013/dist.ini
Path-Tiny-0.013/lib/
Path-Tiny-0.013/LICENSE
Path-Tiny-0.013/Makefile.PL
Path-Tiny-0.013/MANIFEST
Path-Tiny-0.013/META.json
Path-Tiny-0.013/META.yml
Path-Tiny-0.013/perlcritic.rc
Path-Tiny-0.013/README
Path-Tiny-0.013/t/
Path-Tiny-0.013/tidyall.ini
Path-Tiny-0.013/xt/
Path-Tiny-0.013/xt/author/
Path-Tiny-0.013/xt/release/
Path-Tiny-0.013/xt/release/distmeta.t
Path-Tiny-0.013/xt/release/pod-coverage.t
Path-Tiny-0.013/xt/release/pod-syntax.t
Path-Tiny-0.013/xt/release/portability.t
Path-Tiny-0.013/xt/release/test-version.t
Path-Tiny-0.013/xt/author/critic.t
Path-Tiny-0.013/xt/author/pod-spell.t
Path-Tiny-0.013/t/00-compile.t
Path-Tiny-0.013/t/00-report-prereqs.t
Path-Tiny-0.013/t/basic.t
Path-Tiny-0.013/t/children.t
Path-Tiny-0.013/t/exception.t
Path-Tiny-0.013/t/filesystem.t
Path-Tiny-0.013/t/input_output.t
Path-Tiny-0.013/t/input_output_no_UU.t
Path-Tiny-0.013/t/mkpath.t
Path-Tiny-0.013/t/normalize.t
Path-Tiny-0.013/t/overloading.t
Path-Tiny-0.013/t/parent.t
Path-Tiny-0.013/t/README
Path-Tiny-0.013/t/rel-abs.t
Path-Tiny-0.013/t/temp.t
Path-Tiny-0.013/t/zzz-spec.t
Path-Tiny-0.013/lib/Path/
Path-Tiny-0.013/lib/Path/Tiny.pm
CPAN.pm: Going to build D/DA/DAGOLDEN/Path-Tiny-0.013.tar.gz
>>> /export/home/fly1232/bin/perl Makefile.PL
Warning: prerequisite autodie 2.14 not found. We have 2.13.
Checking if your kit is complete...
Looks good
Version::Requirements is deprecated; replace with CPAN::Meta::Requirements at /export/home/fly1232/var/megalib/Version/Requirements.pm line 17.
require Version/Requirements.pm called at /export/home/fly1232/var/megalib/CPAN/Meta/Prereqs.pm line 10
CPAN::Meta::Prereqs::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
require CPAN/Meta/Prereqs.pm called at /export/home/fly1232/var/megalib/CPAN/Meta/Feature.pm line 7
CPAN::Meta::Feature::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
require CPAN/Meta/Feature.pm called at /export/home/fly1232/var/megalib/CPAN/Meta.pm line 9
CPAN::Meta::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
require CPAN/Meta.pm called at /export/home/fly1232/var/megalib/ExtUtils/MM_Any.pm line 733
eval {...} called at /export/home/fly1232/var/megalib/ExtUtils/MM_Any.pm line 732
ExtUtils::MM_Any::_has_cpan_meta() called at /export/home/fly1232/var/megalib/ExtUtils/MM_Any.pm line 753
ExtUtils::MM_Any::metafile_target('PACK001=HASH(0x2e97b0)') called at /export/home/fly1232/var/megalib/ExtUtils/MakeMaker.pm line 690
ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x2e97b0)') called at /export/home/fly1232/var/megalib/ExtUtils/MakeMaker.pm line 60
ExtUtils::MakeMaker::WriteMakefile('test', 'HASH(0x1a2840)', 'NAME', 'Path::Tiny', 'DISTNAME', 'Path-Tiny', 'CONFIGURE_REQUIRES', 'HASH(0x2e99d0)', 'AUTHOR', ...) called at Makefile.PL line 73
Writing Makefile for Path::Tiny
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- DAGOLDEN/Path-Tiny-0.013.tar.gz ----
autodie [requires]
Running make test
Delayed until after prerequisites
Running test for module 'autodie'
Running make for P/PJ/PJF/autodie-2.16.tar.gz
Checksum for /net/nas/data/cpan/authors/id/P/PJ/PJF/autodie-2.16.tar.gz ok
autodie-2.16
autodie-2.16/README
autodie-2.16/AUTHORS
autodie-2.16/Changes
autodie-2.16/t
autodie-2.16/t/pod.t
autodie-2.16/LICENSE
autodie-2.16/dist.ini
autodie-2.16/t/exec.t
autodie-2.16/t/recv.t
autodie-2.16/t/open.t
autodie-2.16/t/kill.t
autodie-2.16/t/skip.t
autodie-2.16/t/fork.t
autodie-2.16/META.yml
autodie-2.16/MANIFEST
autodie-2.16/META.json
autodie-2.16/t/chown.t
autodie-2.16/t/lex58.t
autodie-2.16/t/flock.t
autodie-2.16/t/Fatal.t
autodie-2.16/t/hints.t
autodie-2.16/t/utime.t
autodie-2.16/t/chmod.t
autodie-2.16/t/mkdir.t
autodie-2.16/t/system.t
autodie-2.16/t/socket.t
autodie-2.16/t/caller.t
autodie-2.16/t/lethal.t
autodie-2.16/t/repeat.t
autodie-2.16/t/unlink.t
autodie-2.16/t/critic.t
autodie-2.16/t/touch_me
autodie-2.16/t/fileno.t
autodie-2.16/t/dbmopen.t
autodie-2.16/t/binmode.t
autodie-2.16/t/context.t
autodie-2.16/t/no_carp.t
autodie-2.16/t/usersub.t
autodie-2.16/t/crickey.t
autodie-2.16/t/version.t
autodie-2.16/t/00-load.t
autodie-2.16/t/sysopen.t
autodie-2.16/t/autodie.t
autodie-2.16/Makefile.PL
autodie-2.16/lib
autodie-2.16/lib/Fatal.pm
autodie-2.16/t/kwalitee.t
autodie-2.16/t/truncate.t
autodie-2.16/t/internal.t
autodie-2.16/MANIFEST.SKIP
autodie-2.16/t/utf8_open.t
autodie-2.16/lib/autodie.pm
autodie-2.16/t/blog_hints.t
autodie-2.16/t/backcompat.t
autodie-2.16/t/scope_leak.t
autodie-2.16/t/eval_error.t
autodie-2.16/t/exceptions.t
autodie-2.16/t/boilerplate.t
autodie-2.16/t/filehandles.t
autodie-2.16/t/version_tag.t
autodie-2.16/t/lib
autodie-2.16/t/lib/lethal.pm
autodie-2.16/t/pod-coverage.t
autodie-2.16/t/hints_insist.t
autodie-2.16/t/user-context.t
autodie-2.16/t/author-critic.t
autodie-2.16/t/format-clobber.t
autodie-2.16/lib/autodie
autodie-2.16/lib/autodie/skip.pm
autodie-2.16/t/exception_class.t
autodie-2.16/t/autodie_skippy.pm
autodie-2.16/t/context_lexical.t
autodie-2.16/t/lib/Hints_test.pm
autodie-2.16/t/lib/OtherTypes.pm
autodie-2.16/t/lib/my
autodie-2.16/t/lib/my/autodie.pm
autodie-2.16/lib/autodie/hints.pm
autodie-2.16/t/string-eval-leak.t
autodie-2.16/t/basic_exceptions.t
autodie-2.16/t/lib/pujHa
autodie-2.16/t/lib/pujHa/ghach.pm
autodie-2.16/t/lib/Some
autodie-2.16/t/lib/Some/Module.pm
autodie-2.16/t/string-eval-basic.t
autodie-2.16/t/release-pod-syntax.t
autodie-2.16/t/hints_pod_examples.t
autodie-2.16/t/hints_provider_isa.t
autodie-2.16/t/lib/Caller_helper.pm
autodie-2.16/t/internal-backcompat.t
autodie-2.16/t/hints_provider_does.t
autodie-2.16/t/release-pod-coverage.t
autodie-2.16/lib/autodie/exception.pm
autodie-2.16/t/autodie_test_module.pm
autodie-2.16/t/lib/autodie/test
autodie-2.16/t/lib/autodie/test/au.pm
autodie-2.16/t/lib/pujHa/ghach
autodie-2.16/t/lib/pujHa/ghach/Dotlh.pm
autodie-2.16/t/lib/Hints_pod_examples.pm
autodie-2.16/t/lib/Hints_provider_isa.pm
autodie-2.16/t/lib/Hints_provider_does.pm
autodie-2.16/t/lib/autodie/test/missing.pm
autodie-2.16/t/lib/autodie/test/badname.pm
autodie-2.16/lib/autodie/exception
autodie-2.16/lib/autodie/exception/system.pm
autodie-2.16/t/hints_provider_easy_does_it.t
autodie-2.16/t/lib/autodie/test/au
autodie-2.16/t/lib/autodie/test/au/exception.pm
autodie-2.16/t/lib/Hints_provider_easy_does_it.pm
CPAN.pm: Going to build P/PJ/PJF/autodie-2.16.tar.gz
>>> /export/home/fly1232/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Version::Requirements is deprecated; replace with CPAN::Meta::Requirements at /export/home/fly1232/var/megalib/Version/Requirements.pm line 17.
require Version/Requirements.pm called at /export/home/fly1232/var/megalib/CPAN/Meta/Prereqs.pm line 10
CPAN::Meta::Prereqs::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
require CPAN/Meta/Prereqs.pm called at /export/home/fly1232/var/megalib/CPAN/Meta/Feature.pm line 7
CPAN::Meta::Feature::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
require CPAN/Meta/Feature.pm called at /export/home/fly1232/var/megalib/CPAN/Meta.pm line 9
CPAN::Meta::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
require CPAN/Meta.pm called at /export/home/fly1232/var/megalib/ExtUtils/MM_Any.pm line 733
eval {...} called at /export/home/fly1232/var/megalib/ExtUtils/MM_Any.pm line 732
ExtUtils::MM_Any::_has_cpan_meta() called at /export/home/fly1232/var/megalib/ExtUtils/MM_Any.pm line 753
ExtUtils::MM_Any::metafile_target('PACK001=HASH(0x2e97a8)') called at /export/home/fly1232/var/megalib/ExtUtils/MakeMaker.pm line 690
ExtUtils::MakeMaker::new('MM', 'PACK001=HASH(0x2e97a8)') called at /export/home/fly1232/var/megalib/ExtUtils/MakeMaker.pm line 60
ExtUtils::MakeMaker::WriteMakefile('test', 'HASH(0x2e9598)', 'NAME', 'autodie', 'DISTNAME', 'autodie', 'CONFIGURE_REQUIRES', 'HASH(0x194688)', 'AUTHOR', ...) called at Makefile.PL line 69
Writing Makefile for autodie
Writing MYMETA.yml and MYMETA.json
>>> make
cp lib/Fatal.pm blib/lib/Fatal.pm
cp lib/autodie/exception.pm blib/lib/autodie/exception.pm
cp lib/autodie/skip.pm blib/lib/autodie/skip.pm
cp lib/autodie/hints.pm blib/lib/autodie/hints.pm
cp lib/autodie.pm blib/lib/autodie.pm
cp lib/autodie/exception/system.pm blib/lib/autodie/exception/system.pm
Manifying blib/man3/Fatal.3
Manifying blib/man3/autodie::exception.3
Manifying blib/man3/autodie::skip.3
Manifying blib/man3/autodie::hints.3
Manifying blib/man3/autodie::exception::system.3
Manifying blib/man3/autodie.3
PJF/autodie-2.16.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /export/home/fly1232/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ......................
1..1
ok 1 - use Fatal;
ok
t/author-critic.t ................ skipped: these tests are for testing by the author
t/autodie.t ......................
1..19
ok 1 - autodie qw(open) in lexical scope
ok 2 - no autodie qw(open) in lexical scope
ok 3 - autodie qw(open) in lexical scope 2
ok 4 - no autodie in lexical scope 2
ok 5 - autodie qw(open) in lexical scope 3
ok 6 - autodie open outside of lexical scope
ok 7 - vanilla use autodie turns on everything.
ok 8 - vanilla autodie cleans up
ok 9 - autodie q(:io) makes autodying open
ok 10 - no autodie qw(:io) disabled autodying open
ok 11 - Package fatal working
ok 12 - Old Fatal throws strings
ok 13 - use autodie allowed with Fatal
ok 14 - autodie and Fatal works
ok 15 - The object isa autodie::exception
ok 16 - Package fatal working after autodie
ok 17 - Old Fatal throws strings after autodie
ok 18 - no autodie on Fataled sub an error.
ok 19 - Using fatal after autodie is an error.
ok
t/backcompat.t ...................
1..2
ok 1 - Backwards compat ugly messages
ok 2 - Exception is a string, not an object
ok
t/basic_exceptions.t .............
1..19
ok 1 - Prety printed open msg
ok 2 - Our file mention in error message
ok 3 - Error should be in single-quotes
ok 4 - Errno should not be empty
ok 5 - Errors should end with a newline
ok 6 - Correct file
ok 7 - Correct dying sub
ok 8 - Correct package
ok 9 - Correct caller
ok 10 - Correct line
ok 11 - Correct mode arg
ok 12 - Correct filename arg
ok 13 - Looks like an error from open
ok 14 - Looks like an error from :io
ok 15 - Open called in scalar/void context
ok 16 - Open should return undef on failure
ok 17 - The object isa autodie::exception
ok 18 - Subroutine caller test
ok 19 - Subroutine line test
ok
t/binmode.t ......................
ok 1 - Sanity: binmode(FOO) doesn't usually throw exceptions
ok 2 - Sanity: binmode(FOO) returns undef
ok 3 - autodie qw(binmode) should cause failing binmode to die.
ok 4 - binmode exceptions are in autodie::exception isa autodie::exception
ok 5 - autodie (default) should cause failing binmode to die.
1..5
ok
t/blog_hints.t ...................
ok 1 - some_sub should die in void/scalar context
ok 2 - The object isa autodie::exception
ok 3
ok 4
ok 5
ok 6 - Good call to some_sub
ok 7 - Returns unmolested
ok 8
ok 9
ok 10
ok 11
1..11
ok
t/boilerplate.t ..................
1..3
ok 1 - README contains no boilerplate text
ok 2 - Changes contains no boilerplate text
ok 3 - lib/Fatal.pm contains no boilerplate text
ok
t/caller.t .......................
ok 1 - The object isa autodie::exception
ok 2 - Caller should be main::foo
ok 3 - The object isa autodie::exception
ok 4 - External line number check
ok 5 - External filename check
ok 6 - External package check
ok 7 - External subname check
1..7
ok
t/chmod.t ........................
1..4
ok 1 - exception thrown for chmod isa autodie::exception
ok 2 - We can chmod ourselves just fine.
ok 3 - chmod exception on any file failure. isa autodie::exception
ok 4 - Confirm autodie on a 'true' chown failure.
ok
t/chown.t ........................
1..4
ok 1 - exception thrown for chown isa autodie::exception
ok 2 - Can chown ourselves just fine.
ok 3 - Exception if ANY file changemode fails isa autodie::exception
ok 4 - Confirm we're dying on a 'true' chown failure.
ok
t/context.t ......................
not ok 1 - fatal sub works in list context # TODO Fatal clobbers context, just like it always has.
# Failed (TODO) test 'fatal sub works in list context'
# at t/context.t line 41.
# Structures begin differing at:
# $got->[0] = 'baz'
# $expected->[0] = 'foo'
ok 2 - List return fatalised
ok 3 - fatal sub works in list context
ok 4 - void List return fatalised survives when non-void
ok 5 - void List return fatalised
1..5
ok
t/context_lexical.t ..............
ok 1 - No autodie, no fatality
ok 2 - Autodie fatality for empty return in void context
ok 3 - No autodie, no fatality (after autodie used)
ok 4 - Autodie fatality for undef return in void context
ok 5 - Autodie fatality for empty list return
ok 6 - Autodie fatality for undef list return
ok 7 - No Autodie fatality for defined list return
ok 8 - No Autodie fatality for defined scalar return
ok 9 - Autodie fatality for undefined scalar return
1..9
ok
t/crickey.t ......................
ok 1 - Strewth! autodie::test::au should throw an exception on failure
ok 2 - Yeah mate, that should be our test exception. isa autodie::test::au::exception
ok 3 - Time for a beer mate?
ok 4 - It's always a good time for a beer.
ok 5 - Should be a fair dinkum error from open
1..5
ok
t/critic.t ....................... skipped: Author test. Set $ENV{AUTHOR_TESTING} to true to run.
t/dbmopen.t ......................
ok 1 - Sanity: dbmopen usually returns false on failure
ok 2 - Sanity: dbmopen doesn't usually throw exceptions
ok 3 - autodie allows dbmopen to throw errors.
ok 4 - ... errors are of the correct type isa autodie::exception
ok 5 - Message should include number in octal, not decimal
ok 6 - Correct formatting even with non-empty dbmopen hash
1..6
ok
t/eval_error.t ...................
ok 1 - Sanity check on start conditions
ok 2 - The object isa autodie::exception
ok 3 - Previous $@ should be captured
1..3
ok
t/exception_class.t ..............
ok 1 - Open should fail
ok 2 - $@ should not be empty
ok 3 - $@ should not be a reference or object
ok 4 - $@ should contain bad exception class msg
ok 5 - Open should fail
ok 6 - $@ should not be empty
ok 7 - $@ should not be a reference or object
ok 8 - $@ should contain bad exception class msg
ok 9 - Open should fail
ok 10 - $@ should not be empty
ok 11 - $@ should be a Klingon exception isa pujHa'ghach::Dotlh
ok 12 - $@ should contain Klingon text
1..12
ok
t/exceptions.t ...................
ok 1 - Exception thrown
ok 2 - Exception from open
ok 3 - Exception from open / class :file
ok 4 - Exception from open / class :io
ok 5 - Exception from open / class :all
ok 6 - Close without autodie should fail silent
ok 7 - Nice msg from close
ok 8 - Exception thrown
ok 9 - Exception from close
ok 10 - Exception from close / class :file
ok 11 - Exception from close / class :io
ok 12 - Exception from close / class :all
1..12
ok
t/exec.t .........................
1..3
ok 1 - failed execs should die isa autodie::exception
ok 2 - exception should match exec
ok 3 - exception should match :system
ok
t/Fatal.t ........................
1..17
ok 1 - Package Fatal::open
ok 2 - Regular fatal throws a string
ok 3 - Open using filehandle named - $foo
ok 4 - File contents using - $foo
ok 5 - Close filehandle using - $foo
ok 6 - Open using filehandle named - 'FOO'
ok 7 - File contents using - 'FOO'
ok 8 - Close filehandle using - 'FOO'
ok 9 - Open using filehandle named - *FOO
ok 10 - File contents using - *FOO
ok 11 - Close filehandle using - *FOO
ok 12 - Open using filehandle named - \*FOO
ok 13 - File contents using - \*FOO
ok 14 - Close filehandle using - \*FOO
ok 15 - Package :void Fatal::opendir
ok 16 - Package :void Fatal::opendir in scalar context
ok 17 - Can't override print
ok
t/filehandles.t ..................
1..4
ok 1 - Looks like we opened $0 correctly
ok 2 - Opened $0 in autodie::test
ok 3 - ...and we can read from $0 fine
ok 4 - Filehandles shouldn't leak between packages
ok
t/fileno.t .......................
1..8
ok 1 - STDIN fileno looks sane
ok 2 - STDOUT looks sane
ok 3 - Non-filehandles shouldn't be defined.
ok 4 - fileno(STDIN) shouldn't die
ok 5 - autodying fileno(STDIN) should be 0
ok 6 - fileno(STDOUT) shouldn't die
ok 7 - autodying fileno(STDOUT) should be 1
ok 8 - autodying fileno($dummy) should die isa autodie::exception
ok
t/flock.t ........................ skipped: flock on my own test not supported on this system.
t/fork.t .........................
1..3
ok 1 # skip setrlimit does not allow child limiting
ok 2 # skip setrlimit does not allow child limiting
ok 3 # skip setrlimit does not allow child limiting
ok
t/format-clobber.t ...............
1..21
ok 1 - use OtherTypes;
ok 2 - SCALAR slot intact at compile time
ok 3 - ARRAY slot intact at compile time
ok 4 - HASH slot intact at compile time
ok 5 - IO slot intact at compile time
ok 6 - FORMAT slot intact at compile time
ok 7 - SCALAR slot correct at compile time
ok 8 - ARRAY slot correct at compile time
ok 9 - HASH slot correct at compile time
ok 10 - IO slot correct at compile time
ok 11 - FORMAT slot correct at compile time
ok 12 - SCALAR slot intact at run time
ok 13 - ARRAY slot intact at run time
ok 14 - HASH slot intact at run time
ok 15 - IO slot intact at run time
not ok 16 - FORMAT slot intact at run time # TODO Copying formats fails due to a bug in Perl.
# Failed (TODO) test 'FORMAT slot intact at run time'
# at (eval 16) line 13.
ok 17 - SCALAR slot correct at run time
ok 18 - ARRAY slot correct at run time
ok 19 - HASH slot correct at run time
ok 20 - IO slot correct at run time
not ok 21 - FORMAT slot correct at run time # TODO Copying formats fails due to a bug in Perl.
# Failed (TODO) test 'FORMAT slot correct at run time'
# at (eval 16) line 28.
# got: undef
# expected: 'FORMAT(0x246108)'
ok
# Sub::Identify is loaded
t/hints.t ........................
ok 1 - Id: copy
ok 2 - Id: cp
ok 3 - Id: move
ok 4 - Id: mv
ok 5 - copy() hints should fail on 0 for scalars.
ok 6 - copy() hints should fail on 0 for lists.
ok 7 - Copying in scalar context should throw an error.
ok 8 - The object isa autodie::exception
ok 9 - Function should be original name
ok 10 - File::Copy returns zero on failure
ok 11 - File::Copy called in scalar context
ok 12 - Copying in list context should throw an error.
ok 13 - The object isa autodie::exception
ok 14 - Function should be original name
ok 15 - File::Copy returns zero on failure
ok 16 - File::Copy called in list context
ok 17 - fail_on_undef(1)
ok 18 - fail_on_empty(undef)
ok 19 - fail_on_empty()
ok 20 - fail_on_false(1)
ok 21 - fail_on_false(0)
ok 22 - fail_on_empty(0)
ok 23 - fail_on_undef(undef)
ok 24 - fail_on_undef(0)
ok 25 - fail_on_undef()
ok 26 - fail_on_empty(1)
ok 27 - fail_on_false(undef)
ok 28 - fail_on_false()
1..28
ok
t/hints_insist.t .................
1..5
ok 1 - Insisting on good hints (distributed insist)
ok 2 - Always_pass() should still work
ok 3 - Always_pass() should still work
ok 4 - Insisting on good hints (individual insist)
ok 5 - Asking for non-existent hints
ok
t/hints_pod_examples.t ...........
ok 1 - scalar test - bar(0)
ok 2 - scalar test - bar(1)
ok 3 - scalar test - bar(undef)
ok 4 - scalar test - false_scalar("")
ok 5 - scalar test - false_scalar("1")
ok 6 - scalar test - false_scalar()
ok 7 - scalar test - false_scalar(0)
ok 8 - scalar test - false_scalar(1)
ok 9 - scalar test - false_scalar(undef)
ok 10 - scalar test - foo(0)
ok 11 - scalar test - foo(1)
ok 12 - scalar test - foo(undef)
ok 13 - scalar test - my_system(0)
ok 14 - scalar test - my_system(1)
ok 15 - scalar test - my_system(2)
ok 16 - scalar test - re_fail("FAIL")
ok 17 - scalar test - re_fail("_FAIL")
ok 18 - scalar test - re_fail("_fail")
ok 19 - scalar test - re_fail("fail")
ok 20 - scalar test - re_fail(-1)
ok 21 - scalar test - think_positive(-1)
ok 22 - scalar test - think_positive(-2)
ok 23 - scalar test - think_positive(0)
ok 24 - scalar test - think_positive(1)
ok 25 - scalar test - think_positive(2)
ok 26 - scalar test - undef_scalar("")
ok 27 - scalar test - undef_scalar()
ok 28 - scalar test - undef_scalar(0)
ok 29 - scalar test - undef_scalar(1)
ok 30 - scalar test - zero_scalar("")
ok 31 - scalar test - zero_scalar("0")
ok 32 - scalar test - zero_scalar(0)
ok 33 - scalar test - zero_scalar(1)
ok 34 - scalar test - zero_scalar(undef)
ok 35 - array test - bar(0)
ok 36 - array test - bar(1)
ok 37 - array test - bar(undef)
ok 38 - array test - default_list("")
ok 39 - array test - default_list("str")
ok 40 - array test - default_list()
ok 41 - array test - default_list(0)
ok 42 - array test - default_list(1)
ok 43 - array test - default_list(1, 2)
ok 44 - array test - default_list(undef)
ok 45 - array test - empty_list("")
ok 46 - array test - empty_list(())
ok 47 - array test - empty_list()
ok 48 - array test - empty_list(0)
ok 49 - array test - empty_list([])
ok 50 - array test - empty_list(undef)
ok 51 - array test - empty_or_false_list("")
ok 52 - array test - empty_or_false_list("0")
ok 53 - array test - empty_or_false_list("a")
ok 54 - array test - empty_or_false_list(())
ok 55 - array test - empty_or_false_list()
ok 56 - array test - empty_or_false_list(0)
ok 57 - array test - empty_or_false_list(1,2)
ok 58 - array test - empty_or_false_list(undef)
ok 59 - array test - foo(0)
ok 60 - array test - foo(1)
ok 61 - array test - foo(undef)
ok 62 - array test - my_system(0)
ok 63 - array test - my_system(1)
ok 64 - array test - my_system(2)
ok 65 - array test - re_fail("FAIL")
ok 66 - array test - re_fail("_FAIL")
ok 67 - array test - re_fail("_fail")
ok 68 - array test - re_fail("fail")
ok 69 - array test - re_fail(-1)
ok 70 - array test - think_positive(-1)
ok 71 - array test - think_positive(-2)
ok 72 - array test - think_positive(0)
ok 73 - array test - think_positive(1)
ok 74 - array test - think_positive(2)
ok 75 - array test - undef_n_error_list("", 1)
ok 76 - array test - undef_n_error_list()
ok 77 - array test - undef_n_error_list(0, 1)
ok 78 - array test - undef_n_error_list(1)
ok 79 - array test - undef_n_error_list(undef, "a")
ok 80 - array test - undef_n_error_list(undef, 1)
1..80
ok
t/hints_provider_does.t ..........
ok 1 - always_pass in scalar context
ok 2 - always_pass in list context
ok 3 - always_fail in scalar context
ok 4 - always_fail in list context
1..4
ok
t/hints_provider_easy_does_it.t ..
ok 1 - always_pass in scalar context
ok 2 - always_pass in list context
ok 3 - always_fail in scalar context
ok 4 - always_fail in list context
1..4
ok
t/hints_provider_isa.t ...........
ok 1 - always_pass in scalar context
ok 2 - always_pass in list context
ok 3 - always_fail in scalar context
ok 4 - always_fail in list context
1..4
ok
t/internal-backcompat.t ..........
ok 1 - $
ok 2 - $$
ok 3 - \%
ok 4 - \%;$*
ok 5 - $$@
ok 6 - \$
ok 7 - write_inovcation
ok 8 - one_inovcation
ok 9 - one_inovcation
1..9
ok
t/internal.t .....................
1..6
ok 1 - :void can't be used with :lexical
ok 2 - :lexical must come first
ok 3 - Lexical fatal chdir
ok 4 - No lexical fatal chdir
ok 5 - Lexical chdir becomes non-fatal out of scope.
ok 6 - Can't use fatal with invalid sub names
ok
t/kill.t .........................
1..4
ok 1 - Signalling self is fine
ok 2 - Signalling init is not allowed. isa autodie::exception
ok 3 - kill exception on single failure. isa autodie::exception
ok 4 - kill fails correctly on a 'true' failure.
ok
t/kwalitee.t ..................... skipped: Author test. Set $ENV{RELEASE_TESTING} to true to run.
t/lethal.t .......................
1..4
ok 1 - lethal throws an exception
ok 2 - ...which is the correct class isa autodie::exception
ok 3 - ...which matches open
ok 4 - ...which reports the correct file
ok
t/lex58.t ........................
ok 1
ok 2
ok 3
ok 4
ok 5
1..5
ok
t/mkdir.t ........................
1..12
ok 1 - mkdir returned success
ok 2 - Successfully created test directory
ok 3 - Re-creating directory causes failure.
ok 4 - ... errors are of the correct type isa autodie::exception
ok 5 - ... it's also a mkdir object
ok 6 - ... and a filesys object
ok 7 - rmdir returned success
ok 8 - Successfully removed test directory
ok 9 - Re-deleting directory causes failure.
ok 10 - ... errors are of the correct type isa autodie::exception
ok 11 - ... it's also a rmdir object
ok 12 - ... and a filesys object
ok
t/no_carp.t ......................
1..2
ok 1
ok 2
ok
t/open.t .........................
ok 1 - 3-arg opening non-existent file fails
ok 2 - Well-formatted 3-arg open failure
ok 3 - 2-arg opening non-existent file fails
ok 4 - Well-formatted 2-arg open failure
ok 5 - No ugly globs in 2-arg open messsage
ok 6 - The object isa autodie::exception
ok 7 - At least one mention
ok 8 - ...but not too mentions
ok 9 - Well formatted 2-arg open without mode
ok 10 - The object isa autodie::exception
ok 11 - At least one mention
ok 12 - ...but not too mentions
ok 13 - multi arg piped open does not fail
ok 14 - Error thrown.
ok 15 - No error on exotic open.
ok 16 - Nicer looking error.
1..16
ok
t/pod-coverage.t ................. skipped: Author test. Set $ENV{AUTHOR_TESTING} to true to run.
t/pod.t .......................... skipped: Author test. Set $ENV{AUTHOR_TESTING} to true to run.
t/recv.t .........................
1..8
ok 1 - recv() operational without autodie
ok 2 - recv should not die on returning an emtpy string.
ok 3 - recv() operational with autodie
ok 4 - recv returns undying empty string for local sockets
ok 5 - recv dies on returning undef
ok 6 - The object isa autodie::exception
ok 7 - send dies on returning undef
ok 8 - The object isa autodie::exception
ok
t/release-pod-coverage.t ......... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ........... skipped: these tests are for release candidate testing
t/repeat.t .......................
ok 1 - The object isa autodie::exception
ok 2 - Exception from open
ok 3 - Repeated autodie should not leak
1..3
ok
t/scope_leak.t ...................
ok 1 - basic autodie test
ok 2 - autodying main::open should not leak to other files
ok 3 - Other package open should be unaffected
ok 4 - Failing-open string eval should throw an exception
ok 5 - The object isa autodie::exception
ok 6 - disabling autodie in string context should work
ok 7 - ...but shouldn't disable it for the calling code.
ok 8 - The object isa autodie::exception
ok 9 - Wacky flipping of autodie in string eval should work too!
ok 10 - The object isa autodie::exception
1..10
ok
t/skip.t .........................
1..6
ok 1 - autodie_skippy throws exceptions.
ok 2 - Autodie exceptions correct class isa autodie::exception
ok 3 - Skippy classes are skipped.
ok 4 - autodie_skippy throws exceptions.
ok 5 - Autodie exceptions correct class isa autodie::exception
ok 6 - Unskippy classes are not skipped.
ok
t/socket.t ....................... skipped: Author test. Set $ENV{AUTHOR_TESTING} to true to run.
t/string-eval-basic.t ............
1..3
ok 1 - Eval should fail with autodie/no such file
ok 2 - enabling autodie in string eval should throw an exception
ok 3 - The object isa autodie::exception
ok
t/string-eval-leak.t .............
1..2
not ok 1 - Autodie should not leak out of scope # TODO Autodie can leak near string evals in 5.10.x
# Failed (TODO) test 'Autodie should not leak out of scope'
# at t/string-eval-leak.t line 28.
# got: 'Can't open 'this_file_had_better_not_exist' for reading: 'No such file or directory' at t/string-eval-leak.t line 18
# '
# expected: ''
ok 2 - no autodie should be able to workaround this bug
ok
t/sysopen.t ......................
ok 1 - sysopen can open files that exist
ok 2 - Data in file read
ok 3 - Opening a bad file fails with sysopen isa autodie::exception
1..3
ok
t/system.t .......................
1..9
ok 1 - system completed successfully
ok 2 - system returning 0 is considered fine.
ok 3 - Exception thrown
ok 4 - The object isa autodie::exception
ok 5 - Reason for failure given
ok 6 - Failed command given
ok 7
ok 8 - Exotic system in same package not harmed
ok 9 - Exotic system in other package not harmed
ok
t/truncate.t .....................
1..3
ok 1 - Truncating STDOUT should throw an exception isa autodie::exception
ok 2 - Truncating an unopened file is wrong. isa autodie::exception
ok 3 - Truncating a normal file should be fine
ok
t/unlink.t .......................
1..10
ok 1 - Unlink appears to have been successful
ok 2 - File does not exist
ok 3 - Re-unlinking file causes failure.
ok 4 - ... errors are of the correct type isa autodie::exception
ok 5 - ... it's also a unlink object
ok 6 - ... and a filesys object
ok 7 - Sanity: file exists
ok 8 - Failure when trying to delete missing file in list.
ok 9 - ... errors are of the correct type isa autodie::exception
ok 10 - Failure on deleting missing file but true return value
ok
t/user-context.t .................
ok 1 - Copying a non-existent file should throw an error isa autodie::exception
ok 2 - This shouldn't change with scalar context isa autodie::exception
ok 3 - This shouldn't change with array context isa autodie::exception
ok 4 - Opening a non-existent file should throw an error isa autodie::exception
ok 5 - This shouldn't change with scalar context isa autodie::exception
ok 6 - This shouldn't change with array context isa autodie::exception
1..6
ok
t/usersub.t ......................
ok 1 - Mytest returns input
ok 2 - mytest returns undef without autodie
ok 3 - Mytest doesn't throw an exception without autodie
ok 4 - Mytest returns input with autodie
ok 5 - No error should be thrown
ok 6 - autodie mytest/undef throws exception isa autodie::exception
ok 7 - no autodie can counter use autodie for user subs
ok 8 - mytest(undef) should return undef
ok 9 - mytest(foo) should return foo
ok 10 - No lingering failure effects
ok 11 - No lingering return effects
1..11
ok
t/utf8_open.t ....................
ok 1 - open write honors open pragma
ok 2 - open read honors open pragma
ok 3
ok 4 - open implicit read honors open pragma
ok 5
ok 6 - open implicit read honors open pragma
ok 7 - open implicit read honors open pragma
ok 8 - open pragma remains lexical
ok 9 - open write honors open pragma
ok 10 - open read honors open pragma
ok 11
ok 12 - open read/write honors open write pragma
ok 13
1..13
ok
t/utime.t ........................
1..4
ok 1 - exception thrown for utime isa autodie::exception
ok 2 - We can utime a file just fine.
ok 3 - utime exception on single failure. isa autodie::exception
ok 4 - utime fails correctly on a 'true' failure.
ok
t/version.t ......................
1..4
ok 1
ok 2
ok 3
ok 4
ok
t/version_tag.t ..................
1..9
ok 1 - Basic version tags work isa autodie::exception
ok 2 - Expanding :1.00 should fail
ok 3 - Expanding :2.16 should succeed
ok 4 - chmod wasn't supported in 2.07
ok 5 - Our current version supports chmod isa autodie::exception
ok 6 - chown wasn't supported in 2.13
ok 7 - Our current version supports chown isa autodie::exception
ok 8 - utime wasn't supported in 2.13
ok 9 - Our current version supports utime isa autodie::exception
ok
All tests successful.
Files=62, Tests=470, 19 wallclock secs ( 0.62 usr 0.49 sys + 17.29 cusr 1.63 csys = 20.03 CPU)
Result: PASS
PJF/autodie-2.16.tar.gz
make test TEST_VERBOSE=1 -- OK
Paul Jamieson Fenwick <pjf@perltraining.com.au>
Replace functions with ones that succeed or die with lexical scope
>>> (cd /export/home/fly1232/var/cpan/build/autodie-2.16-HEVS02 && tar cvf - autodie-2.16.ppd blib) | gzip -c >/export/home/fly1232/var/REPO/P/PJ/PJF/autodie-2.16.tar.gz
autodie-2.16.ppd
blib/
blib/lib/
blib/lib/Fatal.pm
blib/lib/autodie/
blib/lib/autodie/exception.pm
blib/lib/autodie/skip.pm
blib/lib/autodie/hints.pm
blib/lib/autodie/exception/
blib/lib/autodie/exception/system.pm
blib/lib/autodie.pm
blib/man3/
blib/man3/Fatal.3
blib/man3/autodie::exception.3
blib/man3/autodie::skip.3
blib/man3/autodie::hints.3
blib/man3/autodie::exception::system.3
blib/man3/autodie.3
>>> mv /export/home/fly1232/var/cpan/build/autodie-2.16-HEVS02/autodie-2.16.ppd /export/home/fly1232/var/REPO/P/PJ/PJF
Running make for D/DA/DAGOLDEN/Path-Tiny-0.013.tar.gz
Prepending /export/home/fly1232/var/cpan/build/autodie-2.16-HEVS02/blib/arch /export/home/fly1232/var/cpan/build/autodie-2.16-HEVS02/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory /export/home/fly1232/var/cpan/build/Path-Tiny-0.013-6RFsmI
Prepending /export/home/fly1232/var/cpan/build/autodie-2.16-HEVS02/blib/arch /export/home/fly1232/var/cpan/build/autodie-2.16-HEVS02/blib/lib to PERL5LIB for 'make'
CPAN.pm: Going to build D/DA/DAGOLDEN/Path-Tiny-0.013.tar.gz
>>> make
cp lib/Path/Tiny.pm blib/lib/Path/Tiny.pm
Manifying blib/man3/Path::Tiny.3
DAGOLDEN/Path-Tiny-0.013.tar.gz
make -- OK
Prepending /export/home/fly1232/var/cpan/build/autodie-2.16-HEVS02/blib/arch /export/home/fly1232/var/cpan/build/autodie-2.16-HEVS02/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /export/home/fly1232/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ..........
1..1
ok 1 - Path::Tiny loaded ok
ok
Version::Requirements is deprecated; replace with CPAN::Meta::Requirements at /export/home/fly1232/var/megalib/Version/Requirements.pm line 17.
require Version/Requirements.pm called at /export/home/fly1232/var/megalib/CPAN/Meta/Prereqs.pm line 10
CPAN::Meta::Prereqs::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
require CPAN/Meta/Prereqs.pm called at /export/home/fly1232/var/megalib/CPAN/Meta/Feature.pm line 7
CPAN::Meta::Feature::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
require CPAN/Meta/Feature.pm called at /export/home/fly1232/var/megalib/CPAN/Meta.pm line 9
CPAN::Meta::BEGIN() called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
eval {...} called at /export/home/fly1232/var/megalib/Version/Requirements.pm line 0
require CPAN/Meta.pm called at (eval 8) line 2
eval 'require CPAN::Meta
;' called at t/00-report-prereqs.t line 45
# Prerequisite Report:
# Version Module
# ------- ---------------------
# 1.26 Carp
# 3.40 Cwd
# 0.0009 Devel::Hide
# 5.67 Exporter
# 6.62 ExtUtils::MakeMaker
# 1.06 Fcntl
# 2.18 File::Copy
# 1.15 File::Find
# 2.09 File::Path
# 3.40 File::Spec
# 3.40 File::Spec::Functions
# 3.40 File::Spec::Unix
# 0.22 File::Temp
# 1.003 File::pushd
# 1.02 File::stat
# 1.27 List::Util
# 0.110 Test::Deep
# 0.010 Test::Fatal
# 0.98 Test::More
# 0.58 Unicode::UTF8
# 2.16 autodie
# 1.25 constant
# 1.07 open
# 1.10 overload
# 1.04 strict
# 1.09 warnings
t/00-report-prereqs.t ...
1..1
ok 1
ok
t/basic.t ...............
ok 1 - The object isa Path::Tiny
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21 - The object isa Path::Tiny
ok 22
ok 23
ok 24 - The object isa Path::Tiny
ok 25
ok 26
ok 27
ok 28
ok 29 - canonpath
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41 - exception
ok 42 - exception
ok 43 - exception
ok 44 - exception
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52 - rootdir is like path('/')
ok 53 - child of rootdir is correct
ok 54 - path() vs new
ok 55 - path(a,b,c) vs path('a/b/c')
1..55
ok
t/children.t ............
ok 1 - children correct
1..1
ok
t/exception.t ...........
ok 1 - exception reported at caller's package
1..1
ok
t/filesystem.t ..........
ok 1 - Got a filename via tmpnam()
ok 2 - Opened /tmp/NjE7pFrooG for writing
ok 3 - Printed to /tmp/NjE7pFrooG
ok 4 - /tmp/NjE7pFrooG should exist
ok 5 - it's a file!
ok 6 - volume correct
ok 7 - volume cached
ok 8 - dirname correct
ok 9 - basename correct
ok 10 - Read contents of /tmp/NjE7pFrooG correctly
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17 - It's a directory!
ok 18
ok 19 - touch sets utime
ok 20
ok 21
ok 22 - Removed /tmp/sL1M1RwVfL
ok 23 - /tmp/sL1M1RwVfL no longer exists
ok 24 - Removing non-existent dir returns false
ok 25 - Created /tmp/Q1c1PmHB7P/foo/bar
ok 26 - /tmp/Q1c1PmHB7P/foo/bar is a directory
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36 - exhausted iterator is undef
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok 57 - removing file
ok 58 - file is gone
ok 59 - removing file again returns false
ok 60
ok 61
ok 62 - slurp raw
ok 63 - slurp+crlf+utf8
ok 64 - lines+crlf+utf8
ok 65 - lines+chomp+crlf+utf8
ok 66
ok 67
ok 68 - from . to /export/home/fly1232/var/cpan/build/Path-Tiny-0.013-6RFsmI to .
ok 69 - updir gone from realpath
ok 70 - realpath on absolute
ok 71 - file copied
ok 72 - copy throws error if permission denied
ok 73 - lstat
1..73
ok
t/input_output.t ........
ok 1 - spew
ok 2 - slurp
1..2
ok 1 - spew -> slurp
ok 1 - spew
ok 2 - slurp
1..2
ok 2 - spew -> slurp (empty)
ok 1 - spew
ok 2 - slurp
1..2
ok 3 - spew -> slurp (arrayref)
ok 1 - spew
ok 2 - slurp
1..2
ok 4 - spew -> slurp (binmode)
ok 1 - spew
ok 2 - slurp
ok 3 - is UTF8
1..3
ok 5 - spew -> slurp (open hint)
ok 1 - spew
ok 2 - slurp
ok 3 - is UTF8
1..3
ok 6 - spew -> slurp (UTF-8)
ok 1 - spew
ok 2 - slurp
1..2
ok 7 - spew -> slurp (raw)
ok 1 - spew
ok 2 - lines
1..2
ok 8 - spew -> lines
ok 1 - spew
ok 2 - slurp
ok 3 - is UTF8
1..3
ok 9 - spew -> lines (open hint)
ok 1 - spew
ok 2 - slurp
ok 3 - is UTF8
1..3
ok 10 - spew -> lines (UTF-8)
ok 1 - spew
ok 2 - lines
1..2
ok 11 - spew -> lines (raw)
ok 1 - spew
ok 2 - lines
1..2
ok 12 - spew -> lines (count)
ok 1 - spew
ok 2 - lines
1..2
ok 13 - spew -> lines (count, chomp)
ok 1 - spew
ok 2 - lines
1..2
ok 14 - spew -> lines (count, UTF-8)
ok 1 - spew
ok 2 - lines
1..2
ok 15 - spew -> lines (count, raw)
ok 1 - append
ok 2 - slurp
1..2
ok 16 - append -> slurp
ok 1 - append
ok 2 - slurp
1..2
ok 17 - append -> slurp (empty)
ok 1 - append
ok 2 - slurp
1..2
ok 18 - append -> slurp (arrayref)
ok 1 - piecemeal append
ok 2 - piecemeal append
ok 3 - slurp
1..3
ok 19 - append -> slurp (piecemeal)
ok 1 - append
ok 2 - slurp
1..2
ok 20 - append -> slurp (binmode)
ok 1 - append
ok 2 - slurp
1..2
ok 21 - append -> slurp (open hint)
ok 1 - append
ok 2 - slurp
1..2
ok 22 - append -> slurp (UTF-8)
ok 1 - append
ok 2 - slurp
1..2
ok 23 - append -> slurp (raw)
ok 1 - openw & print
ok 2 - openr & read
1..2
ok 24 - openw -> openr
ok 1 - openw & print
ok 2 - openr & read
ok 3 - is UTF8
1..3
ok 25 - openw -> openr (open hint)
ok 1 - openw & print
ok 2 - openr & read
ok 3 - is UTF8
1..3
ok 26 - openw -> openr (UTF-8)
ok 1 - openw & print
ok 2 - openr & read
1..2
ok 27 - openw -> openr (raw)
ok 1 - openw & print one line
ok 2 - opena & print rest of lines
ok 3 - openr & read
1..3
ok 28 - opena -> openr
ok 1 - openw & print one line
ok 2 - opena & print rest of lines
ok 3 - openr & read
ok 4 - is UTF8
1..4
ok 29 - opena -> openr (open hint)
ok 1 - openw & print one line
ok 2 - opena & print rest of lines
ok 3 - openr & read
ok 4 - is UTF8
1..4
ok 30 - opena -> openr (UTF-8)
ok 1 - openw & print one line
ok 2 - opena & print rest of lines
ok 3 - openr & read
1..3
ok 31 - opena -> openr (raw)
ok 1 - openrw & print
ok 2 - seek back to start
ok 3 - openr & read
1..3
ok 32 - openrw
ok 1 - openrw & print
ok 2 - seek back to start
ok 3 - openr & read
ok 4 - is UTF8
1..4
ok 33 - openrw (open hint)
ok 1 - openrw & print
ok 2 - seek back to start
ok 3 - openr & read
ok 4 - is UTF8
1..4
ok 34 - openrw (UTF-8)
ok 1 - openrw & print
ok 2 - seek back to start
ok 3 - openr & read
1..3
ok 35 - openrw (raw)
1..35
ok
Devel::Hide hides Unicode/UTF8.pm
t/input_output_no_UU.t ..
ok 1 - spew
ok 2 - slurp
1..2
ok 1 - spew -> slurp
ok 1 - spew
ok 2 - slurp
1..2
ok 2 - spew -> slurp (empty)
ok 1 - spew
ok 2 - slurp
1..2
ok 3 - spew -> slurp (binmode)
ok 1 - spew
ok 2 - slurp
1..2
ok 4 - spew -> slurp (UTF-8)
ok 1 - spew
ok 2 - slurp
1..2
ok 5 - spew -> slurp (raw)
ok 1 - spew
ok 2 - lines
1..2
ok 6 - spew -> lines
ok 1 - spew
ok 2 - lines
1..2
ok 7 - spew -> lines (UTF-8)
ok 1 - spew
ok 2 - lines
1..2
ok 8 - spew -> lines (raw)
ok 1 - spew
ok 2 - lines
1..2
ok 9 - spew -> lines (count)
ok 1 - spew
ok 2 - lines
1..2
ok 10 - spew -> lines (count, chomp)
ok 1 - spew
ok 2 - lines
1..2
ok 11 - spew -> lines (count, UTF-8)
ok 1 - spew
ok 2 - lines
1..2
ok 12 - spew -> lines (count, raw)
ok 1 - append
ok 2 - slurp
1..2
ok 13 - append -> slurp
ok 1 - append
ok 2 - slurp
1..2
ok 14 - append -> slurp (empty)
ok 1 - piecemeal append
ok 2 - piecemeal append
ok 3 - slurp
1..3
ok 15 - append -> slurp (piecemeal)
ok 1 - append
ok 2 - slurp
1..2
ok 16 - append -> slurp (binmode)
ok 1 - append
ok 2 - slurp
1..2
ok 17 - append -> slurp (UTF-8)
ok 1 - append
ok 2 - slurp
1..2
ok 18 - append -> slurp (raw)
ok 1 - openw & print
ok 2 - openr & read
1..2
ok 19 - openw -> openr
ok 1 - openw & print
ok 2 - openr & read
1..2
ok 20 - openw -> openr (UTF-8)
ok 1 - openw & print
ok 2 - openr & read
1..2
ok 21 - openw -> openr (raw)
ok 1 - openw & print one line
ok 2 - opena & print rest of lines
ok 3 - openr & read
1..3
ok 22 - opena -> openr
ok 1 - openw & print one line
ok 2 - opena & print rest of lines
ok 3 - openr & read
1..3
ok 23 - opena -> openr (UTF-8)
ok 1 - openw & print one line
ok 2 - opena & print rest of lines
ok 3 - openr & read
1..3
ok 24 - opena -> openr (raw)
ok 1 - openrw & print
ok 2 - seek back to start
ok 3 - openr & read
1..3
ok 25 - openrw
ok 1 - openrw & print
ok 2 - seek back to start
ok 3 - openr & read
1..3
ok 26 - openrw (UTF-8)
ok 1 - openrw & print
ok 2 - seek back to start
ok 3 - openr & read
1..3
ok 27 - openrw (raw)
1..27
ok
t/mkpath.t ..............
ok 1 - target directory not created yet
ok 2 - mkpath on directory returned true
ok 3 - target directory created
ok 4 - target directory not created yet
ok 5 - mkpath on directory with mode
ok 6 - correct mode
ok 7 - target directory created
1..7
ok
t/normalize.t ...........
ok 1 - . -> .
ok 2 - ./ -> .
ok 3 - / -> /
ok 4 - /. -> /
ok 5 - .. -> ..
ok 6 - /.. -> /
ok 7 - ../ -> ..
ok 8 - ../.. -> ../..
ok 9 - /./ -> /
ok 10 - /foo/ -> /foo
ok 11 - foo/ -> foo
ok 12 - ./foo -> foo
ok 13 - foo/. -> foo
1..13
ok
t/overloading.t .........
ok 1 - stringify via overloading
ok 2 - stringify via method
ok 3 - boolifies to true
1..3
ok
t/parent.t ..............
ok 1 - /foo/bar -> /foo
ok 2 - /foo -> /
ok 3 - / -> /
1..3
ok 1 - absolute
ok 1 - foo/bar/baz -> foo/bar
ok 2 - foo/bar -> foo
ok 3 - foo -> .
ok 4 - . -> ..
ok 5 - .. -> ../..
ok 6 - ../.. -> ../../..
1..6
ok 2 - relative
ok 1 - /foo/bar/../baz -> /foo/bar/..
ok 2 - /foo/bar/.. -> /foo/bar/../..
ok 3 - /foo/bar/../.. -> /foo/bar/../../..
1..3
ok 3 - absolute with ..
ok 1 - foo/bar/../baz -> foo/bar/..
ok 2 - foo/bar/.. -> foo/bar/../..
ok 3 - foo/bar/../.. -> foo/bar/../../..
1..3
ok 4 - relative with ..
ok 1 - ../foo/bar -> ../foo
ok 2 - ../foo -> ..
ok 3 - .. -> ../..
1..3
ok 5 - relative with leading ..
1..5
ok
t/rel-abs.t .............
ok 1 - absolute of absolute is identity
ok 2 - absolute on base
1..2
ok
t/temp.t ................
ok 1 - tempdir exists
ok 2 - tempdir destroyed
1..2
ok 1 - tempdir
ok 1 - tempfile exists
ok 2 - tempfile destroyed
1..2
ok 2 - tempfile
ok 1 - found template
1..1
ok 3 - tempdir w/ TEMPLATE
ok 1 - found template
1..1
ok 4 - tempfile w/ TEMPLATE
ok 1 - found template
1..1
ok 5 - tempdir w/ leading template
ok 1 - found template
1..1
ok 6 - tempfile w/ leading template
ok 1 - cached File::Temp object
ok 2 - cached handle is closed
1..2
ok 7 - tempfile handle
ok 1 - exists
1..1
ok 8 - survives absolute
1..8
ok
t/zzz-spec.t ............
ok 1 - path('a','b','c')
ok 2 - path('a','b','./c')
ok 3 - path('./a','b','c')
ok 4 - path('c')
ok 5 - path('./c')
ok 6 - path('/')
ok 7 - path('d1','d2','d3','')
ok 8 - path('d1','d2','d3')
ok 9 - path('/','d2/d3')
ok 10 - path('/.')
ok 11 - path('/./')
ok 12 - path('/a/./')
ok 13 - path('/a/.')
ok 14 - path('/../../')
ok 15 - path('/../..')
ok 16 - path('/t1/t2/t4')->relative('/t1/t2/t3')
ok 17 - path('/t1/t2')->relative('/t1/t2/t3')
ok 18 - path('/t1/t2/t3/t4')->relative('/t1/t2/t3')
ok 19 - path('/t4/t5/t6')->relative('/t1/t2/t3')
ok 20 - path('/')->relative('/t1/t2/t3')
ok 21 - path('///')->relative('/t1/t2/t3')
ok 22 - path('/.')->relative('/t1/t2/t3')
ok 23 - path('/./')->relative('/t1/t2/t3')
ok 24 - path('/t1/t2/t3')->relative( '/')
ok 25 - path('/t1/t2/t3')->relative( '/t1')
ok 26 - path('t1/t2/t3')->relative( 't1')
ok 27 - path('t1/t2/t3')->relative( 't4')
ok 28 - path('.')->relative( '.')
ok 29 - path('/')->relative( '/')
ok 30 - path('../t1')->relative( 't2/t3')
ok 31 - path('t1')->relative( 't2/../t3')
ok 32 - path('t4')->absolute('/t1/t2/t3')
ok 33 - path('t4/t5')->absolute('/t1/t2/t3')
ok 34 - path('.')->absolute('/t1/t2/t3')
ok 35 - path('/t1')->absolute('/t1/t2/t3')
ok 36 - path('///../../..//./././a//b/.././c/././')
ok 37 - path('a/../../b/c')
ok 38 - path('..')->absolute('/t1/t2/t3')
ok 39 - path('../t4')->absolute('/t1/t2/t3')
1..39
ok
All tests successful.
Files=15, Tests=271, 9 wallclock secs ( 0.31 usr 0.10 sys + 8.01 cusr 0.68 csys = 9.10 CPU)
Result: PASS
DAGOLDEN/Path-Tiny-0.013.tar.gz
make test TEST_VERBOSE=1 -- OK
David Golden <dagolden@cpan.org>
File path utility
>>> (cd /export/home/fly1232/var/cpan/build/Path-Tiny-0.013-6RFsmI && tar cvf - Path-Tiny-0.013.ppd blib) | gzip -c >/export/home/fly1232/var/REPO/D/DA/DAGOLDEN/Path-Tiny-0.013.tar.gz
Path-Tiny-0.013.ppd
blib/
blib/lib/
blib/lib/Path/
blib/lib/Path/Tiny.pm
blib/man3/
blib/man3/Path::Tiny.3
>>> mv /export/home/fly1232/var/cpan/build/Path-Tiny-0.013-6RFsmI/Path-Tiny-0.013.ppd /export/home/fly1232/var/REPO/D/DA/DAGOLDEN
Finished 2013-02-22T18:23:30