Skip Menu |

This queue is for tickets about the Test-Trap CPAN distribution.

Report information
The Basics
Id: 72132
Status: resolved
Priority: 0/
Queue: Test-Trap

People
Owner: ebhanssen [...] allverden.no
Requestors: Ben Bullock (no email address)
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: v0.2.1
Fixed in: (no value)



Subject: Fails tests t/11-systemsafe-basic.t
The installation of Test::Trap failed. Please refer to the attached file which is the output of cpan Test::Trap > test-trap.log 2>&1 $ perl -v This is perl 5, version 12, subversion 3 (v5.12.3) built for i386-freebsd $ uname -a FreeBSD mikan 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 06:15:01 UTC 2010 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Subject: test-trap.log
CPAN: Storable loaded ok (v2.30) Going to read '/home/ben/.cpan/Metadata' Database was generated on Thu, 03 Nov 2011 00:29:41 GMT Running install for module 'Test::Trap' Running make for E/EB/EBHANSSEN/Test-Trap-v0.2.1.tar.gz CPAN: Digest::SHA loaded ok (v5.62) CPAN: Compress::Zlib loaded ok (v2.037) Checksum for /home/ben/.cpan/sources/authors/id/E/EB/EBHANSSEN/Test-Trap-v0.2.1.tar.gz ok CPAN: Archive::Tar loaded ok (v1.76) CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.110930) CPAN: Module::CoreList loaded ok (v2.54) CPAN: Module::Build loaded ok (v0.38) CPAN.pm: Going to build E/EB/EBHANSSEN/Test-Trap-v0.2.1.tar.gz Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Test-Trap' version 'v0.2.1' Building Test-Trap EBHANSSEN/Test-Trap-v0.2.1.tar.gz ./Build -- OK CPAN: YAML loaded ok (v0.73) Running Build test # Testing Test::Trap 0.2.1, Perl 5.012003, /home/ben/software/install/bin/perl t/00-load.t ............... ok t/01-basic.t .............. ok t/02-reentrant.t .......... ok t/03-files-perlio.t ....... ok t/03-files-systemsafe.t ... ok t/03-files-tempfile.t ..... ok t/04-exit.t ............... ok t/05-import.t ............. ok t/06-layers.t ............. ok t/07-subclass.t ........... ok # Real fork; taint checks enabled t/08-fork.t ............... ok t/09-array-accessor.t ..... ok t/10-tester.t ............. ok # Real fork; taint checks enabled # Failed test 'Take 1: exit(1)' # at t/11-systemsafe-basic.t line 118. # got: undef # expected: '1' # bless({ # " id " => "1320301309/75459/4", # "die" => "Insecure \$ENV{CDPATH} while running with -T switch at t/11-systemsafe-basic.t line 115.\n", # "leaveby" => "die", # "stderr" => "", # "stdout" => "", # "wantarray" => undef, # "warn" => [], # }, "Test::Trap") # Failed test 'Take 1: system() STDOUT' # at t/11-systemsafe-basic.t line 120. # got: '' # expected: 'Printing # ' # Failed test 'Take 1: system() STDERR' # at t/11-systemsafe-basic.t line 121. # got: '' # expected: '0123456789Warning # ' # Failed test 'Take 2: exit(1)' # at t/11-systemsafe-basic.t line 118. # got: undef # expected: '1' # bless({ # " id " => "1320301309/75459/5", # "die" => "Insecure \$ENV{CDPATH} while running with -T switch at t/11-systemsafe-basic.t line 115.\n", # "leaveby" => "die", # "stderr" => "", # "stdout" => "", # "wantarray" => undef, # "warn" => [], # }, "Test::Trap") # Failed test 'Take 2: system() STDOUT' # at t/11-systemsafe-basic.t line 120. # got: '' # expected: 'Printing # ' # Failed test 'Take 2: system() STDERR' # at t/11-systemsafe-basic.t line 121. # got: '' # expected: '0123456789Warning # ' # Failed test 'Take 3 - STDIN closed: exit(1)' # at t/11-systemsafe-basic.t line 118. # got: undef # expected: '1' # bless({ # " id " => "1320301309/75459/6", # "die" => "Insecure \$ENV{CDPATH} while running with -T switch at t/11-systemsafe-basic.t line 115.\n", # "leaveby" => "die", # "stderr" => "", # "stdout" => "", # "wantarray" => undef, # "warn" => [], # }, "Test::Trap") # Failed test 'Take 3 - STDIN closed: system() STDOUT' # at t/11-systemsafe-basic.t line 120. # got: '' # expected: 'Printing # ' # Failed test 'Take 3 - STDIN closed: system() STDERR' # at t/11-systemsafe-basic.t line 121. # got: '' # expected: '0123456789Warning # ' # Failed test 'Take 4 - STDIN closed - STDOUT closed: exit(1)' # at t/11-systemsafe-basic.t line 118. # got: undef # expected: '1' # bless({ # " id " => "1320301309/75459/7", # "die" => "Insecure \$ENV{CDPATH} while running with -T switch at t/11-systemsafe-basic.t line 115.\n", # "leaveby" => "die", # "stderr" => "", # "stdout" => "", # "wantarray" => undef, # "warn" => [], # }, "Test::Trap") # Failed test 'Take 4 - STDIN closed - STDOUT closed: system() STDERR' # at t/11-systemsafe-basic.t line 121. # got: '' # expected: '0123456789Warning # ' # Failed test 'Take 5 - STDIN closed - STDOUT closed: exit(1)' # at t/11-systemsafe-basic.t line 118. # got: undef # expected: '1' # bless({ # " id " => "1320301309/75459/8", # "die" => "Insecure \$ENV{CDPATH} while running with -T switch at t/11-systemsafe-basic.t line 115.\n", # "leaveby" => "die", # "stderr" => "", # "stdout" => "", # "wantarray" => undef, # "warn" => [], # }, "Test::Trap") # Failed test 'Take 5 - STDIN closed - STDOUT closed: system() STDERR' # at t/11-systemsafe-basic.t line 121. # got: '' # expected: '0123456789Warning # ' # Looks like you failed 13 tests of 43. t/11-systemsafe-basic.t ... Dubious, test returned 13 (wstat 3328, 0xd00) Failed 13/43 subtests t/12-systemsafe-errors.t .. ok t/13-regressions.t ........ ok t/99-coverage.t ........... ok Test Summary Report ------------------- t/11-systemsafe-basic.t (Wstat: 3328 Tests: 43 Failed: 13) Failed tests: 10-12, 16-18, 22-24, 28, 30, 34, 36 Non-zero exit status: 13 Files=17, Tests=830, 3 wallclock secs ( 0.23 usr 0.11 sys + 2.08 cusr 0.55 csys = 2.98 CPU) Result: FAIL Failed 1/17 test programs. 13/830 subtests failed. EBHANSSEN/Test-Trap-v0.2.1.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports EBHANSSEN/Test-Trap-v0.2.1.tar.gz Running Build install make test had returned bad status, won't install without force
I have at long last made a new release, fixing this specific instance of the "naughty environment" stopper. I'm almost tempted to make a module out of this environment sanitation ... Sorry it took so long.