Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 14774
Status: resolved
Priority: 0/
Queue: Test-Exception

People
Owner: Nobody in particular
Requestors: paul.mccann [...] adelaide.edu.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.21
Fixed in: 0.22



Subject: Tests failing under Mac OS X 10.4.2
Hi, the "make test" for Test::Exception version 0.21 is breaking rather badly in Mac OS X 10.4.2. "perl -v" gives This is perl, v5.8.6 built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) and the two registered patches are 23953 - fix for File::Path::rmtree CAN-2004-0452 security issue 33990 - fix for setuid perl security issues The output from "make test" is included below (with apologies for the length). Thanks for your time: I'd be more than happy to provide more info or to try out any remedies. Paul ============================== % make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basic........ # Failed test 'testing failing' # in t/01basic.t at line 29. # STDERR is: # # Failed test 'should fail' # # in t/01basic.t at line 28. # # got: 'foo' # # expected: 'bar' # # not: # # Failed test (t/01basic.t at line 28) # # got: 'foo' # # expected: 'bar' # # as expected t/01basic........FAILED test 6 Failed 1/6 tests, 83.33% okay t/02fhrestore....ok t/03die..........ok t/04line_num.....ok t/05faildiag.....NOK 1 # Failed test 'test fail' # in t/05faildiag.t at line 17. # STDERR is: # # Failed test 'one' # # in t/05faildiag.t at line 10. # # Failed test 'two' # # in t/05faildiag.t at line 15. # # not: # # Failed test (t/05faildiag.t at line 10) # # Failed test (t/05faildiag.t at line 15) # # as expected t/05faildiag.....NOK 2 # Failed test 'test_fail first' # in t/05faildiag.t at line 22. # STDERR is: # # Failed test 'one' # # in t/05faildiag.t at line 21. # # not: # # Failed test (t/05faildiag.t at line 21) # # as expected t/05faildiag.....FAILED tests 1-2 Failed 2/5 tests, 60.00% okay t/06errormess....NOK 4 # Failed test 'STDERR basic meta meta test 2' # in t/06errormess.t at line 108. # HEY THERE, I GOT '#+++Failed+test+'foo' # #+++in+t/06errormess.t+at+line+107. # ' not '#+++++Failed+test+(t/06errormess.t+at+line+107) # ' t/06errormess....NOK 7 # Failed test 'STDOUT meta meta test with tbt2 ' # in t/06errormess.t at line 123. # got: 'ok 1 - bar # ' # expected: 'not ok 1 - bar # ' t/06errormess....NOK 8 # Failed test 'STDERR meta meta test with tbt2 ' # in t/06errormess.t at line 123. # HEY THERE, I GOT '#+++Failed+test+'bar' # #+++in+t/06errormess.t+at+line+122. # #+STDERR+is: # #+#+++Failed+test+'foo' # #+#+++in+t/06errormess.t+at+line+121. # #+ # #+not: # #+#+++++Failed+test+(t/06errormess.t+at+line+121) # #+ # #+as+expected # ' not '' t/06errormess....NOK 10 # Failed test 'STDERR meta test b&w' # in t/06errormess.t at line 169. # HEY THERE, I GOT '#+++Failed+test+'bar' # #+++in+t/06errormess.t+at+line+165. # #+STDERR+is: # #+#+++Failed+test+'foo' # #+#+++in+t/06errormess.t+at+line+161. # #+#++++++++++got:+'php' # #+#+++++expected:+'Perl' # #+ # #+not: # #+#+++++Failed+test+(t/06errormess.t+at+line+161) # #+#++++++++++got:+'php' # #+#+++++expected:+'perl' # #+ # #+as+expected # ' not '#+++++Failed+test+(t/06errormess.t+at+line+165) # #+STDERR+is: # #+#+++++Failed+test+(t/06errormess.t+at+line+161) # #+#++++++++++got:+'php' # #+#+++++expected:+'Perl' # #+ # #+not: # #+#+++++Failed+test+(t/06errormess.t+at+line+161) # #+#++++++++++got:+'php' # #+#+++++expected:+'perl' # #+ # #+as+expected # ' t/06errormess....NOK 12 # Failed test 'STDERR meta test color' # in t/06errormess.t at line 217. # HEY THERE, I GOT '#+++Failed+test+'bar' # #+++in+t/06errormess.t+at+line+213. # #+STDERR+is: # #+#+++Failed+test+'foo' # #+#+++in+t/06errormess.t+at+line+209. # #+#++++++++++got:+'php' # #+#+++++expected:+'Perl' # #+ # #+not: # #+#+++++Failed+test+(t/06errormess.t+at+line+209) # #+#++++++++++got:+'php' # #+#+++++expected:+'perl' # #+ # #+as+expected # ' not '#+++++Failed+test+(t/06errormess.t+at+line+213) # #+STDERR+is: # #+#+++++Failed+test+(t/06errormess.t+at+line+209) # #+#++++++++++got:+'php' # #+#+++++expected:+'Perl' # #+ # #+not: # #+#+++++Failed+test+(t/06errormess.t+at+line+209) # #+#++++++++++got:+'php' # #+#+++++expected:+'perl' # #+ # #+as+expected # ' t/06errormess....FAILED tests 4, 7-8, 10, 12 Failed 5/12 tests, 58.33% okay t/07args.........NOK 4 # Failed test 'STDERR basic meta meta test 2' # in t/07args.t at line 108. # HEY THERE, I GOT '#+++Failed+test+'foo' # #+++in+t/07args.t+at+line+107. # ' not '#+++++Failed+test+(t/07args.t+at+line+107) # ' t/07args.........NOK 7 # Failed test 'STDOUT meta meta test with tbt2 ' # in t/07args.t at line 123. # got: 'ok 1 - bar # ' # expected: 'not ok 1 - bar # ' t/07args.........NOK 8 # Failed test 'STDERR meta meta test with tbt2 ' # in t/07args.t at line 123. # HEY THERE, I GOT '#+++Failed+test+'bar' # #+++in+t/07args.t+at+line+122. # #+STDERR+is: # #+#+++Failed+test+'foo' # #+#+++in+t/07args.t+at+line+121. # #+ # #+not: # #+#+++++Failed+test+(t/07args.t+at+line+121) # #+ # #+as+expected # ' not '' t/07args.........NOK 15 # Failed test 'STDOUT meta test skip_out' # in t/07args.t at line 198. # got: 'ok 1 - bar # ' # expected: 'not ok 1 - bar # ' t/07args.........NOK 16 # Failed test 'STDERR meta test skip_out' # in t/07args.t at line 198. # HEY THERE, I GOT '#+++Failed+test+'bar' # #+++in+t/07args.t+at+line+195. # #+STDERR+is: # #+#+++Failed+test+'foo' # #+#+++in+t/07args.t+at+line+192. # #+ # #+not: # #+#+++++Failed+test+(t/07args.t+at+line+192) # #+ # #+as+expected # ' not '' t/07args.........FAILED tests 4, 7-8, 15-16 Failed 5/18 tests, 72.22% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/01basic.t 6 1 16.67% 6 t/05faildiag.t 5 2 40.00% 1-2 t/06errormess.t 12 5 41.67% 4 7-8 10 12 t/07args.t 18 5 27.78% 4 7-8 15-16 Failed 4/7 test scripts, 42.86% okay. 13/49 subtests failed, 73.47% okay. make: *** [test_dynamic] Error 2
Yup :-) It's the new output format of Test::Builder. I should get a patch done this week. Adrian [guest - Tue Sep 27 04:16:01 2005]: Show quoted text
> Hi, > > the "make test" for Test::Exception version 0.21 is breaking rather > badly in Mac OS X 10.4.2. "perl -v" gives > > This is perl, v5.8.6 built for darwin-thread-multi-2level > (with 2 registered patches, see perl -V for more detail) > > and the two registered patches are > > 23953 - fix for File::Path::rmtree CAN-2004-0452 security > issue > 33990 - fix for setuid perl security issues > > The output from "make test" is included below (with apologies for the > length). > > Thanks for your time: I'd be more than happy to provide more info or > to try out any remedies. > > Paul > ============================== > % make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/01basic........ > # Failed test 'testing failing' > # in t/01basic.t at line 29. > # STDERR is: > # # Failed test 'should fail' > # # in t/01basic.t at line 28. > # # got: 'foo' > # # expected: 'bar' > # > # not: > # # Failed test (t/01basic.t at line 28) > # # got: 'foo' > # # expected: 'bar' > # > # as expected > t/01basic........FAILED test 6 > Failed 1/6 tests, 83.33% okay > t/02fhrestore....ok > t/03die..........ok > t/04line_num.....ok > t/05faildiag.....NOK 1 > # Failed test 'test fail' > # in t/05faildiag.t at line 17. > # STDERR is: > # # Failed test 'one' > # # in t/05faildiag.t at line 10. > # # Failed test 'two' > # # in t/05faildiag.t at line 15. > # > # not: > # # Failed test (t/05faildiag.t at line 10) > # # Failed test (t/05faildiag.t at line 15) > # > # as expected > t/05faildiag.....NOK 2 > # Failed test 'test_fail first' > # in t/05faildiag.t at line 22. > # STDERR is: > # # Failed test 'one' > # # in t/05faildiag.t at line 21. > # > # not: > # # Failed test (t/05faildiag.t at line 21) > # > # as expected > t/05faildiag.....FAILED tests 1-2 > Failed 2/5 tests, 60.00% okay > t/06errormess....NOK 4 > # Failed test 'STDERR basic meta meta test 2' > # in t/06errormess.t at line 108. > # HEY THERE, I GOT '#+++Failed+test+'foo' > # #+++in+t/06errormess.t+at+line+107. > # ' not '#+++++Failed+test+(t/06errormess.t+at+line+107) > # ' > t/06errormess....NOK 7 > # Failed test 'STDOUT meta meta test with tbt2 ' > # in t/06errormess.t at line 123. > # got: 'ok 1 - bar > # ' > # expected: 'not ok 1 - bar > # ' > t/06errormess....NOK 8 > # Failed test 'STDERR meta meta test with tbt2 ' > # in t/06errormess.t at line 123. > # HEY THERE, I GOT '#+++Failed+test+'bar' > # #+++in+t/06errormess.t+at+line+122. > # #+STDERR+is: > # #+#+++Failed+test+'foo' > # #+#+++in+t/06errormess.t+at+line+121. > # #+ > # #+not: > # #+#+++++Failed+test+(t/06errormess.t+at+line+121) > # #+ > # #+as+expected > # ' not '' > t/06errormess....NOK 10 > # Failed test 'STDERR meta test b&w' > # in t/06errormess.t at line 169. > # HEY THERE, I GOT '#+++Failed+test+'bar' > # #+++in+t/06errormess.t+at+line+165. > # #+STDERR+is: > # #+#+++Failed+test+'foo' > # #+#+++in+t/06errormess.t+at+line+161. > # #+#++++++++++got:+'php' > # #+#+++++expected:+'Perl' > # #+ > # #+not: > # #+#+++++Failed+test+(t/06errormess.t+at+line+161) > # #+#++++++++++got:+'php' > # #+#+++++expected:+'perl' > # #+ > # #+as+expected > # ' not '#+++++Failed+test+(t/06errormess.t+at+line+165) > # #+STDERR+is: > # #+#+++++Failed+test+(t/06errormess.t+at+line+161) > # #+#++++++++++got:+'php' > # #+#+++++expected:+'Perl' > # #+ > # #+not: > # #+#+++++Failed+test+(t/06errormess.t+at+line+161) > # #+#++++++++++got:+'php' > # #+#+++++expected:+'perl' > # #+ > # #+as+expected > # ' > t/06errormess....NOK 12 > # Failed test 'STDERR meta test color' > # in t/06errormess.t at line 217. > # HEY THERE, I GOT '#+++Failed+test+'bar' > # #+++in+t/06errormess.t+at+line+213. > # #+STDERR+is: > # #+#+++Failed+test+'foo' > # #+#+++in+t/06errormess.t+at+line+209. > # #+#++++++++++got:+'php' > # #+#+++++expected:+'Perl' > # #+ > # #+not: > # #+#+++++Failed+test+(t/06errormess.t+at+line+209) > # #+#++++++++++got:+'php' > # #+#+++++expected:+'perl' > # #+ > # #+as+expected > # ' not '#+++++Failed+test+(t/06errormess.t+at+line+213) > # #+STDERR+is: > # #+#+++++Failed+test+(t/06errormess.t+at+line+209) > # #+#++++++++++got:+'php' > # #+#+++++expected:+'Perl' > # #+ > # #+not: > # #+#+++++Failed+test+(t/06errormess.t+at+line+209) > # #+#++++++++++got:+'php' > # #+#+++++expected:+'perl' > # #+ > # #+as+expected > # ' > t/06errormess....FAILED tests 4, 7-8, 10, 12 > Failed 5/12 tests, 58.33% okay > t/07args.........NOK 4 > # Failed test 'STDERR basic meta meta test 2' > # in t/07args.t at line 108. > # HEY THERE, I GOT '#+++Failed+test+'foo' > # #+++in+t/07args.t+at+line+107. > # ' not '#+++++Failed+test+(t/07args.t+at+line+107) > # ' > t/07args.........NOK 7 > # Failed test 'STDOUT meta meta test with tbt2 ' > # in t/07args.t at line 123. > # got: 'ok 1 - bar > # ' > # expected: 'not ok 1 - bar > # ' > t/07args.........NOK 8 > # Failed test 'STDERR meta meta test with tbt2 ' > # in t/07args.t at line 123. > # HEY THERE, I GOT '#+++Failed+test+'bar' > # #+++in+t/07args.t+at+line+122. > # #+STDERR+is: > # #+#+++Failed+test+'foo' > # #+#+++in+t/07args.t+at+line+121. > # #+ > # #+not: > # #+#+++++Failed+test+(t/07args.t+at+line+121) > # #+ > # #+as+expected > # ' not '' > t/07args.........NOK 15 > # Failed test 'STDOUT meta test skip_out' > # in t/07args.t at line 198. > # got: 'ok 1 - bar > # ' > # expected: 'not ok 1 - bar > # ' > t/07args.........NOK 16 > # Failed test 'STDERR meta test skip_out' > # in t/07args.t at line 198. > # HEY THERE, I GOT '#+++Failed+test+'bar' > # #+++in+t/07args.t+at+line+195. > # #+STDERR+is: > # #+#+++Failed+test+'foo' > # #+#+++in+t/07args.t+at+line+192. > # #+ > # #+not: > # #+#+++++Failed+test+(t/07args.t+at+line+192) > # #+ > # #+as+expected > # ' not '' > t/07args.........FAILED tests 4, 7-8, 15-16 > Failed 5/18 tests, 72.22% okay > Failed Test Stat Wstat Total Fail Failed List of Failed >
------------------------------------------------------------------------------ - Show quoted text
> t/01basic.t 6 1 16.67% 6 > t/05faildiag.t 5 2 40.00% 1-2 > t/06errormess.t 12 5 41.67% 4 7-8 10 12 > t/07args.t 18 5 27.78% 4 7-8 15-16 > Failed 4/7 test scripts, 42.86% okay. 13/49 subtests failed, 73.47% > okay. > make: *** [test_dynamic] Error 2