clustericious / Clustericious

2 stars 3 forks source link

t/multiple_apps.t fails on MSWin32 #1

Closed plicease closed 11 years ago

plicease commented 11 years ago

The actual problem may be in Clustericious::Config. Fundamentally the issue is that MSWin32 doesn't like ':' in filenames. Here is the test output:

C:\Users\ollisg\dev\Clustericious>prove -lv t\multiple_apps.t t\multiple_apps.t .. 1..6

exception: Can't open 'C:\Users\ollisg\AppData\Local\Temp\i_8R5zJDOv\my_home/etc/Clustericious::HelloWorld.conf' for output:

Invalid argument at C:/strawberry/perl/vendor/lib/YAML/XS.pm line 32.

Failed test 'create config for Clustericious::HelloWorld at C:\Users\ollisg\AppData\Local\Temp\i_8R5zJDOv\my_home/etc/Clustericious::HelloWorld.conf'

not ok 1 - create config for Clustericious::HelloWorld at C:\Users\ollisg\AppData\Local\Temp\i_8R5zJDOv\my_home/etc/Clustericious::HelloWorld.conf# at t\multiple_apps.t line 8.

ok 2 - GET / 'x' not found in plug_auth,url_base,url,cors_allowed_origins,simple_auth at C:\Users\ollisg\perl5\lib\perl5/Clustericious/Config.pm line 292.

Looks like you planned 6 tests but ran 2.

Looks like you failed 1 test of 2 run.

Looks like your test exited with 255 just after 2.

Dubious, test returned 255 (wstat 65280, 0xff00) Failed 5/6 subtests

Test Summary Report

t\multiple_apps.t (Wstat: 65280 Tests: 2 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 6 tests but ran 2. Files=1, Tests=2, 4 wallclock secs ( 0.13 usr + 0.03 sys = 0.16 CPU) Result: FAIL

plicease commented 11 years ago

fixed with Clustericious::Config 0.23 I didn't make it a prereq for MSWin32