Skip Menu |

This queue is for tickets about the Log-Log4perl CPAN distribution.

Report information
The Basics
Id: 17245
Status: resolved
Priority: 0/
Queue: Log-Log4perl

People
Owner: MSCHILLI [...] cpan.org
Requestors: andyford [...] agedwards.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.02
Fixed in: (no value)



Subject: test failures: t/020Easy.t, t/024WarnDieCarp.t, & t/051Extra.t
This is perl, v5.6.1 built for PA-RISC2.0 HP-UX hqmnntu1 B.11.00 A 9000/800 891950666 t/020Easy............ok 1/20 # Failed test in t/020Easy.t at line 197. t/020Easy............NOK 20# '2006/01/24 09:37:13 LOGCARP at t/020Easy.t line 196 # LOGCARP at t/020Easy.t line 196 # at t/020Easy.t line 193 # ' # doesn't match '(?-xism:LOGCARP.*020Easy.t line 193)' # Looks like you failed 1 test of 20. t/020Easy............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 20 Failed 1/20 tests, 95.00% okay t/020Easy............ok 1/20 # Failed test in t/020Easy.t at line 197. t/020Easy............NOK 20# '2006/01/24 09:37:13 LOGCARP at t/020Easy.t line 196 # LOGCARP at t/020Easy.t line 196 # at t/020Easy.t line 193 # ' # doesn't match '(?-xism:LOGCARP.*020Easy.t line 193)' # Looks like you failed 1 test of 20. t/020Easy............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 20 Failed 1/20 tests, 95.00% okay t/024WarnDieCarp.....ok 1/53 # Failed test 'Check logcarp' # in t/024WarnDieCarp.t at line 203. # 'blib/lib/Log/Log4perl/Logger.pm-914: Inferno! at t/024WarnDieCarp.t line 201 # ' # doesn't match '(?-xism:197)' t/024WarnDieCarp.....NOK 53# Looks like you failed 1 test of 53. t/024WarnDieCarp.....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 53 Failed 1/53 tests, 98.11% okay
Attached patch fixes the line number errors for 020Easy.t and 024WarnDieCarp.t.
--- Log-Log4perl-1.02/t/020Easy.t Sat Sep 17 19:42:06 2005 +++ Log-Log4perl-1.02-barbie/t/020Easy.t Thu Feb 2 11:12:57 2006 @@ -194,7 +194,7 @@ } package main; Junk2::foo(); -like(readstderr(), qr/LOGCARP.*020Easy.t line 193/); +like(readstderr(), qr/LOGCARP.*020Easy.t line 196/); ############################################################ # Finally close --- Log-Log4perl-1.02/t/024WarnDieCarp.t Sat Sep 17 19:43:46 2005 +++ Log-Log4perl-1.02-barbie/t/024WarnDieCarp.t Thu Feb 2 11:14:17 2006 @@ -200,5 +200,5 @@ package main; eval { Bar::bar(); }; -like($app0->buffer(), qr/197/, +like($app0->buffer(), qr/line 201/, "Check logcarp");
Will be resolved in 1.03, which will detect buggy Carp.pm versions and skip the tests in this case.