Mailing List Archive

Test failure on Win32 with Catalyst-Runtime-5.7099_03
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.

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
Re: Test failure on Win32 with Catalyst-Runtime-5.7099_03 [ In reply to ]
On Fri, Sep 12, 2008 at 04:45:17PM -0300, Nilson Santos Figueiredo Junior wrote:
> 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.

Could you propose a patch then? I don't have a win32 box handy to check on.

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

I'm pretty sure that's fixed in trunk.

--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/

_______________________________________________
Catalyst-dev mailing list
Catalyst-dev@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev