PATH=/Users/fly2000/bin:/Users/fly2000/ap2000-298465/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/fly2000/var/megalib/bin Start 2014-09-15T14:20:41 ActivePerl-2000 CPAN-2.00 Reading '/Users/fly2000/var/cpan/Metadata' Database was generated on Mon, 15 Sep 2014 19:53:16 GMT Running make for D/DA/DAGOLDEN/File-Temp-0.2304.tar.gz Checksum for /data/cpan/authors/id/D/DA/DAGOLDEN/File-Temp-0.2304.tar.gz ok File-Temp-0.2304/ File-Temp-0.2304/Changes File-Temp-0.2304/CONTRIBUTING File-Temp-0.2304/cpanfile File-Temp-0.2304/dist.ini File-Temp-0.2304/lib/ File-Temp-0.2304/LICENSE File-Temp-0.2304/Makefile.PL File-Temp-0.2304/MANIFEST File-Temp-0.2304/META.json File-Temp-0.2304/META.yml File-Temp-0.2304/misc/ File-Temp-0.2304/README File-Temp-0.2304/t/ File-Temp-0.2304/xt/ File-Temp-0.2304/xt/author/ File-Temp-0.2304/xt/release/ File-Temp-0.2304/xt/release/distmeta.t File-Temp-0.2304/xt/release/minimum-version.t File-Temp-0.2304/xt/release/pod-coverage.t File-Temp-0.2304/xt/release/pod-syntax.t File-Temp-0.2304/xt/release/portability.t File-Temp-0.2304/xt/release/test-version.t File-Temp-0.2304/xt/author/pod-spell.t File-Temp-0.2304/t/00-report-prereqs.t File-Temp-0.2304/t/cmp.t File-Temp-0.2304/t/fork.t File-Temp-0.2304/t/lock.t File-Temp-0.2304/t/mktemp.t File-Temp-0.2304/t/object.t File-Temp-0.2304/t/posix.t File-Temp-0.2304/t/rmtree.t File-Temp-0.2304/t/security.t File-Temp-0.2304/t/seekable.t File-Temp-0.2304/t/tempfile.t File-Temp-0.2304/misc/benchmark.pl File-Temp-0.2304/misc/results.txt File-Temp-0.2304/lib/File/ File-Temp-0.2304/lib/File/Temp.pm CPAN.pm: Building D/DA/DAGOLDEN/File-Temp-0.2304.tar.gz >>> /Users/fly2000/ap2000-298465/bin/perl-dynamic Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for File::Temp Writing MYMETA.yml and MYMETA.json >>> make cp lib/File/Temp.pm blib/lib/File/Temp.pm Manifying blib/man3/File::Temp.3 DAGOLDEN/File-Temp-0.2304.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /Users/fly2000/ap2000-298465/bin/perl-dynamic "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # Prerequisite Report: # Version Module # -------- --------------------- # 1.3301 Carp # 1.3301 Carp::Heavy # 3.47 Cwd # 5.70 Exporter # 6.98 ExtUtils::MakeMaker # 1.11 Fcntl # 2.09 File::Path # 3.47 File::Spec # 3.47 File::Spec::Functions # 2.02 FileHandle # 1.35 IO::Handle # 1.10 IO::Seekable # 1.39 List::Util # 1.38_03 POSIX # 1.39 Scalar::Util # 1.07 Symbol # 1.001003 Test::More # 1.27 constant # 1.22 overload # 0.228 parent # 1.08 strict # 1.03 vars # 1.23 warnings t/00-report-prereqs.t .. 1..1 ok 1 ok t/cmp.t ................ 1..19 ok 1 - use File::Temp; ok 2 - An object of class 'File::Temp' isa 'File::Temp' ok 3 - compare stringified object with string ok 4 - compare object with string ok 5 - compare eq with self ok 6 - compare != 0 ok 7 - compare == with self ok 8 - compare != *STDOUT ok 9 - +0 is a number ok 10 - "" is not a number ok 11 - An object of class 'File::Temp::Dir' isa 'File::Temp::Dir' ok 12 - compare stringified object with string ok 13 - compare object with string ok 14 - compare eq with self ok 15 - compare != 0 ok 16 - compare == with self ok 17 - compare != *STDOUT ok 18 - +0 is a number ok 19 - "" is not a number ok t/fork.t ............... 1..8 ok 1 - OO File exists # child 1 sleeping for 3 seconds # child 2 sleeping for 9 seconds ok 2 - OO file present in child 1 # child 1 exiting ok 3 - OO file present in child 2 # child 2 exiting ok 4 - OO File exists in parent ok 5 - non-OO File exists # child 1 sleeping for 4 seconds # child 2 sleeping for 9 seconds ok 6 - non-OO File present in child 1 # child 1 exiting ok 7 - non-OO File present in child 2 # child 2 exiting ok 8 - non-OO File exists in parent ok t/lock.t ............... 1..4 ok 1 - use File::Temp; ok 2 - temp file is present ok 3 - File /tmp/W_6egDgTw0 is locked ok 4 - File /tmp/94xIinRcNH is not locked ok t/mktemp.t ............. 1..9 ok 1 # MKSTEMP: FH is GLOB(0x100817350) File is /tmp/wowserWBoP fileno=3 ok 2 ok 3 ok 4 - woohoo # ok 5 # MKSTEMPS: File is suffixXXXXXX -> suffixFHl6zB.dat fileno=4 ok 6 ok 7 # MKDTEMP: Name is /tmp/tmpdirFG7i1j from template /tmp/tmpdirXXXXXX ok 8 # MKTEMP: Tempfile is /tmp/mytestXXXXXX -> /tmp/mytestVHAd1z ok 9 ok t/object.t ............. 1..35 ok 1 - use File::Temp; ok 2 - File::Temp->tempfile error ok 3 - File::Temp->tempfile error ok 4 - File /tmp/AMuToN1szC.txt exists ok 5 - Close file /tmp/AMuToN1szC.txt ok 6 - File /tmp/AMuToN1szC.txt still exists after close ok 7 - Directory /tmp/hD9ygXfZgm exists ok 8 - Directory should now be gone ok 9 - Directory with TEMPLATE ok 10 - Directory with leading template ok 11 - temp file exists ok 12 - temp file now gone # Template: tmpdirXXXXXX # TEMPDIR: tmpdirxJlUZg ok 13 - Does tmpdirxJlUZg directory exist ok 14 - should unlink # TEMPFILE: Created tmpdirxJlUZg/GvTCt4SaQA.dat ok 15 - File tmpdirxJlUZg/GvTCt4SaQA.dat exists in tempdir? # TEMPFILE: Created tmpdirxJlUZg/aMHJXAZHxL ok 16 - Second file tmpdirxJlUZg/aMHJXAZHxL exists in tempdir [nounlink]? # TEMPFILE: Created tmpdirxJlUZg/helloKJ0Rsp8.dat # TEMPFILE: Created tmpdirxJlUZg/hellok1UFVih.dat ok 17 - File tmpdirxJlUZg/hellok1UFVih.dat exists? [from leading template] ok 18 - saw template # TEMPFILE: Created perm3VDY6x2 ok 19 - File perm3VDY6x2 exists? ok 20 - Close file perm3VDY6x2 ok 21 - should not unlink # TEMPFILE: Created permg6YYmBC ok 22 - File permg6YYmBC exists? ok 23 - Close file permg6YYmBC ok 24 - should unlink (in principal) # End of tests. Execute END blocks ok 25 - Directory tmpdirxJlUZg should not be there ok 26 - File /tmp/AMuToN1szC.txt should not be there ok 27 - File tmpdirxJlUZg/GvTCt4SaQA.dat should not be there ok 28 - File tmpdirxJlUZg/aMHJXAZHxL should not be there ok 29 - File tmpdirxJlUZg/hellok1UFVih.dat should not be there ok 30 - Check perm3VDY6x2 exists ok 31 - Unlinked perm3VDY6x2 ok 32 - perm3VDY6x2 no longer there ok 33 - Check permg6YYmBC exists ok 34 - Unlinked permg6YYmBC ok 35 - permg6YYmBC no longer there ok t/posix.t .............. 1..7 ok 1 # TMPNAM: in a scalar context: ok 2 # TMPNAM file name: /tmp/JOLDgehGcW # TMPNAM: in list context: GLOB(0x10098d358) /tmp/C6R4LCwvge ok 3 ok 4 ok 5 # TMPFILE: tmpfile got FH GLOB(0x100817380) # TMPFILE: Wrote line: Hello a test ok 6 # TMPFILE: Read line: Hello a test ok 7 - Hello a test # ok t/rmtree.t ............. 1..1 ok 1 ok t/security.t ........... 1..12 # Testing with STANDARD security... # fname1 = /tmp/tmpPMH5F ok 1 # fname2 = tmp5sPCQ ok 2 # Testing with MEDIUM security... # fname1 = /tmp/tmp3hNGR ok 3 # fname2 = tmpEWFDK ok 4 # Testing with HIGH security... # fname1 = /tmp/tmpFPzhP ok 5 # fname2 = tmpprygB ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok t/seekable.t ........... 1..10 ok 1 - use File::Temp; ok 2 - An object of class 'File::Temp' isa 'File::Temp' ok 3 - An object of class 'File::Temp' isa 'IO::Handle' ok 4 - An object of class 'File::Temp' isa 'IO::Seekable' ok 5 - tmp can seek ok 6 - tmp can print ok 7 - really exporting 9: tmpnam tmpfile mktemp mkstemp mkstemps mkdtemp SEEK_SET SEEK_CUR SEEK_END ok 8 - SEEK_SET defined by File::Temp ok 9 - SEEK_END defined by File::Temp ok 10 - SEEK_CUR defined by File::Temp ok t/tempfile.t ........... 1..28 ok 1 - Start test ok 2 - Tempfile exists ok 3 - Tempfile closed ok 4 - Tempfile exists # Template: tmpdirXXXXXX # TEMPDIR: tmpdirEqRJmt ok 5 - Local tempdir exists # TEMPDIR2: customLLNLy ok 6 - tempdir with TEMPLATE # TEMPFILE: Created tmpdirEqRJmt/gDL2flju5e.dat ok 7 - Local temp file exists with .dat extension ok 8 - Local tempfile in tempdir exists ok 9 - Local tempfile in tempdir exists read-only # TEMPFILE: Created tmpdirEqRJmt/7lZzLjgUYJ # TEMPFILE: Created tmpdirEqRJmt/hellobWwaJzW.dat ok 10 - Local tempfile in tempdir with .dat extension exists # TEMPFILE: Created tmpdirEqRJmt/goodbyebTK0ZoQ.dat ok 11 - Local tempfile in tempdir with TEMPLATE # TEMPFILE: Created permcNuyvf4 ok 12 - Long-lived temp file ok 13 - Close long-lived temp file ok 14 - Write to temp file ok 15 - Close temp file # TEMPDIR: /tmp/SM9k5bifZs ok 16 - Temp directory in temp dir # End of tests. Execute END blocks in directory /private/tmp/SM9k5bifZs ok 17 - Dir /Users/fly2000/var/cpan/build/File-Temp-0.2304-YlyUEW/tmpdirEqRJmt should not be present ok 18 - Dir /Users/fly2000/var/cpan/build/File-Temp-0.2304-YlyUEW/tmpdirEqRJmt should not be present ok 19 - Dir /tmp/SM9k5bifZs should not be present ok 20 - File /tmp/vg3Cts_79j.txt should not be present ok 21 - File /Users/fly2000/var/cpan/build/File-Temp-0.2304-YlyUEW/tmpdirEqRJmt/gDL2flju5e.dat should not be present ok 22 - File /Users/fly2000/var/cpan/build/File-Temp-0.2304-YlyUEW/tmpdirEqRJmt/hthQAx3VSK should not be present ok 23 - File /Users/fly2000/var/cpan/build/File-Temp-0.2304-YlyUEW/tmpdirEqRJmt/7lZzLjgUYJ should not be present ok 24 - File /Users/fly2000/var/cpan/build/File-Temp-0.2304-YlyUEW/tmpdirEqRJmt/hellobWwaJzW.dat should not be present ok 25 - File /Users/fly2000/var/cpan/build/File-Temp-0.2304-YlyUEW/tmpdirEqRJmt/goodbyebTK0ZoQ.dat should not be present ok 26 - File /Users/fly2000/var/cpan/build/File-Temp-0.2304-YlyUEW/permcNuyvf4 is still present ok 27 - Unlink file ok 28 - File is no longer present ok All tests successful. Files=11, Tests=134, 25 wallclock secs ( 0.08 usr 0.04 sys + 0.95 cusr 0.17 csys = 1.24 CPU) Result: PASS DAGOLDEN/File-Temp-0.2304.tar.gz make test TEST_VERBOSE=1 -- OK David Golden <dagolden@cpan.org> return name and handle of a temporary file safely >>> (cd /Users/fly2000/var/cpan/build/File-Temp-0.2304-YlyUEW && tar cvf - File-Temp-0.2304.ppd blib) | gzip -c >/Users/fly2000/var/REPO/D/DA/DAGOLDEN/File-Temp-0.2304.tar.gz File-Temp-0.2304.ppd blib/ blib/lib/ blib/lib/File/ blib/lib/File/Temp.pm blib/man3/ blib/man3/File::Temp.3 >>> mv /Users/fly2000/var/cpan/build/File-Temp-0.2304-YlyUEW/File-Temp-0.2304.ppd /Users/fly2000/var/REPO/D/DA/DAGOLDEN Finished 2014-09-15T14:21:09