Skip Menu |

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

Report information
The Basics
Id: 21499
Status: open
Priority: 0/
Queue: Log-Dispatch-Config

People
Owner: Nobody in particular
Requestors: alexchorny [...] gmail.com
Cc:
AdminCc:

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



Subject: 03_reload.t fail
ActiveState perl v5.8.7 built for MSWin32-x86-multi-thread Binary build 813 t/03_reload.......... # Failed test 'The object isa Log::Dispatch::File' # in t/03_reload.t at line 25. # The object isn't defined # Failed test in t/03_reload.t at line 26. # got: 'Log::Dispatch::File=HASH(0x1c15cc4)' # expected: undef # Failed test 'Log::Dispatch::Config=HASH(0x1beae90) - Log::Dispatch::Config=HASH(0x1beae90)' # in t/03_reload.t at line 27. # 'Log::Dispatch::Config=HASH(0x1beae90)' # ne # 'Log::Dispatch::Config=HASH(0x1beae90)' # Looks like you failed 3 tests of 5. dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 2-4 Failed 3/5 tests, 40.00% okay Also you should replace copy("t/foo.cfg", $file); with die unless copy("t/foo.cfg", $file); to check copy result. ------- Alexandr Ciornii, http://chorny.net
File::Copy on Windows is same as Win32::CopyFile and it preserves timestamp. File::Copy::copy can be replaced with something like: { local $/=undef; open my $a,"t/bar.cfg"; my $cont=<$a>; open my $b,'>>',$file; print $b $cont; } to be sure that timestamp will change. -- Alexandr Ciornii, http://chorny.net
I have the same symptoms on Windows XP, Perl 5.8.8. The module MooseX::LogDispatch depends upon Log::Dispatch::Configurator, so I'd like to add to the request to get this fixed. Thanks