Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 37358
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: toddr [...] cpanel.net
Cc:
AdminCc:

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



Subject: Test Failure in Strawberry perl - IO::SessionData
Hi, I reccommend a skip on this one for windows. Do we need do disable parts of SOAP::Lite for windows because this test fails? C:\Projects\perl-soap-lite\branches\0.71>prove -b -v t\IO\SessionData.t t\IO\SessionData.... 1..9 # Failed test 'use IO::SessionData;' # at t\IO\SessionData.t line 4. # Tried to use 'IO::SessionData'. # Error: Your vendor has not defined POSIX macro EWOULDBLOCK, used at C:\Projects\perl-soap-lite\branches \0.71\blib\lib/IO/SessionData.pm line 24 # BEGIN failed--compilation aborted at C:\Projects\perl-soap- lite\branches\0.71\blib\lib/IO/SessionData.pm lin e 27. # Compilation failed in require at (eval 2) line 2. not ok 1 - use IO::SessionData;# BEGIN failed--compilation aborted at (eval 2) line 2. Can't locate object method "new" via package "IO::SessionData" at t\IO\SessionData.t line 6. # Looks like you planned 9 tests but only ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test died just after 1. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 9/9 subtests Test Summary Report ------------------- t\IO\SessionData (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 9 tests but ran 1. Files=1, Tests=1, 1 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) Result: FAIL
Subject: Re: [rt.cpan.org #37358] Test Failure in Strawberry perl - IO::SessionData
Date: Thu, 03 Jul 2008 19:57:04 +0200
To: bug-SOAP-Lite [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Hi Todd, I guess I found the evil code - looks liek POSIX macros can croak, even if their existance is tested via can() before. There's a modified IO::SessionData available at https://soaplite.svn.sourceforge.net/svnroot/soaplite/branches/0.71/lib/IO/SessionData.pm (or if you have checked out the svn, just update). Could you try the modified version (should fix the IO/SessionSet.t test, too)? Thanks, Martin Am Mittwoch, den 02.07.2008, 23:02 -0400 schrieb Todd E. Rinaldo via RT: Show quoted text
> Wed Jul 02 23:02:20 2008: Request 37358 was acted upon. > Transaction: Ticket created by todd_rinaldo > Queue: SOAP-Lite > Subject: Test Failure in Strawberry perl - IO::SessionData > Broken in: 0.71 > Severity: Normal > Owner: Nobody > Requestors: todd.e.rinaldo@jpmorgan.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=37358 > > > > Hi, I reccommend a skip on this one for windows. Do we need do disable > parts of SOAP::Lite for windows because this test fails? > > C:\Projects\perl-soap-lite\branches\0.71>prove -b -v t\IO\SessionData.t > t\IO\SessionData.... > 1..9 > > # Failed test 'use IO::SessionData;' > # at t\IO\SessionData.t line 4. > # Tried to use 'IO::SessionData'. > # Error: Your vendor has not defined POSIX macro EWOULDBLOCK, used > at C:\Projects\perl-soap-lite\branches > \0.71\blib\lib/IO/SessionData.pm line 24 > # BEGIN failed--compilation aborted at C:\Projects\perl-soap- > lite\branches\0.71\blib\lib/IO/SessionData.pm lin > e 27. > # Compilation failed in require at (eval 2) line 2. > not ok 1 - use IO::SessionData;# BEGIN failed--compilation aborted at > (eval 2) line 2. > > Can't locate object method "new" via package "IO::SessionData" at > t\IO\SessionData.t line 6. > # Looks like you planned 9 tests but only ran 1. > # Looks like you failed 1 test of 1 run. > # Looks like your test died just after 1. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 9/9 subtests > > Test Summary Report > ------------------- > t\IO\SessionData (Wstat: 65280 Tests: 1 Failed: 1) > Failed test: 1 > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 9 tests but ran 1. > Files=1, Tests=1, 1 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) > Result: FAIL >
From: todd.e.rinaldo [...] jpmorgan.com
WOO HOO!!!! 1 down! C:\Projects\perl-soap-lite\branches\0.71>prove -b -v t\IO\SessionData.t t\IO\SessionData.... 1..9 ok 1 - use IO::SessionData; ok 2 ok 3 ok 4 ok 5 ok 6 - write_limit(42) ok 7 ok 8 - set_choke(42) ok 9 ok All tests successful. Files=1, Tests=9, 0 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU) Result: PASS