Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: kmx [...] volny.cz
Cc:
AdminCc:

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



Subject: Test 026FileApp.t fails on Win32/strawberry perl
Date: Tue, 12 May 2009 08:44:34 +0200
To: bug-Log-Log4perl [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Download (untitled) / with headers
text/plain 744b
Hi, I have experienced a problem with test 026FileApp.t on Win32/strawberry perl (the same behaviour with 5.8.9 and 5.10.0): ... t/025CustLevels.t .... ok t/026FileApp.t ....... 1/20 # Test 14 got: "INFO - File1\nINFO - File1-1\n" (t/026FileApp.t at line 289) # Expected: "INFO - File1-1\n" # t/026FileApp.t line 289 is: ok($content, "INFO - File1-1\n"); No such signal: SIGUSR1 at D:\strawberry\cpan\build\Log-Log4perl-1.22-7XgAkw\blib\lib/Log/Log4perl/Config/Watch.pm line 32. Unrecognized signal name "USR1" at t/026FileApp.t line 337. t/026FileApp.t ....... Dubious, test returned 13 (wstat 3328, 0xd00) Failed 5/20 subtests (less 1 skipped subtest: 14 okay) t/027Watch2.t ........ ok ... Tested on Log-Log4perl-1.22 -- kmx
Download (untitled) / with headers
text/plain 243b
Show quoted text
> t/026FileApp.t ....... 1/20 # Test 14 got: "INFO - File1\nINFO - > No such signal: SIGUSR1 at
Interesting, this test should be skipped on Windows, which is checked by comparing $^O to "MSWin32". What does $^O evaluate to on your platform?
Subject: Re: [rt.cpan.org #45983] Test 026FileApp.t fails on Win32/strawberry perl
Date: Tue, 12 May 2009 09:00:37 +0200
To: bug-Log-Log4perl [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Download (untitled) / with headers
text/plain 217b
D:\>perl -e "print $^O" MSWin32 Michael_Schilli via RT napsal(a): Show quoted text
> Interesting, this test should be skipped on Windows, which is checked by > comparing $^O to "MSWin32". What does $^O evaluate to on your platform?
Download (untitled) / with headers
text/plain 253b
On Tue May 12 03:00:57 2009, kmx@volny.cz wrote: Show quoted text
> D:\>perl -e "print $^O" > MSWin32
Ah, got it, it was a bug in Log4perl's test suite, fixed: http://github.com/mschilli/log4perl/commit/75a75e489f4a3ae1d07327d1a5766fd21393bddb Thanks! -- Mike
Resolved.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.