[Catalyst-dev] Test failure on Win32 with Catalyst-Runtime-5.7099_03

Nilson Santos Figueiredo Junior acid06 at gmail.com
Fri Sep 12 20:45:17 BST 2008


Since it seems this is almost being turned into a proper release I
decided to give it a go and noticed that last test of
t/live_engine_request_uploads fails on Win32 because of a trailing
slash in the matching regex. The $dir variable should be defined in a
cross platform way in order to match successfully everywhere.

You can see the actual test failure message below:

t/live_engine_request_uploads...............................NOK 88/88#   Failed
test 'uploadtmp'
#   at t/live_engine_request_uploads.t line 300.
#                   'C:\Perl\cpan\build\Catalyst-Runtime-5.7099_03-maCJHQ\t\3ITG
pQIZax'
#     doesn't match '(?-xism:C\:\/Perl\/cpan\/build\/Catalyst\-Runtime\-5\.7099_
03\-maCJHQ\/t\/)'
# Looks like you failed 1 test of 88.
t/live_engine_request_uploads...............................dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 88
        Failed 1/88 tests, 98.86% okay

FYI, I also got a warning on t/live_component_controller_action_go,
not sure if it's harmless:

t/live_component_controller_action_go.......................ok 1/47Use of uninit
ialized value in join or string at C:\Perl\cpan\build\Catalyst-Runtime-5.7099_03
-maCJHQ\blib\lib/Catalyst\Dispatcher.pm line 117.

-Nilson Santos F. Jr.



More information about the Catalyst-dev mailing list