Skip Menu |

This queue is for tickets about the IO-Socket-SSL CPAN distribution.

Report information
The Basics
Id: 71699
Status: resolved
Priority: 0/
Queue: IO-Socket-SSL

People
Owner: Nobody in particular
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

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



Subject: t/startssl-failed.t FAILS on strawberry perl (MS Windows)
It is probably just a bug in test count (you expect 9 but actually just 8 is executed) as there is in fact nothing failing:

C:\build\IO-Socket-SSL-1.45>prove -bv t\signal-readline.t
t\signal-readline.t ..
1..9
ok #Server Initialization
ok #client ssl connect
ok #got line
ok #accept
ok #wrote foo
ok #send hup
ok #wrote bar\n
ok #wait: 0
Failed 1/9 subtests

Test Summary Report
-------------------
t\signal-readline.t (Wstat: 0 Tests: 8 Failed: 0)
  Parse errors: Bad plan.  You planned 9 tests but ran 8.
Files=1, Tests=8,  3 wallclock secs ( 0.08 usr +  0.02 sys =  0.09 CPU)
Result: FAIL

--
kmx
Subject: Re: [rt.cpan.org #71699] t/startssl-failed.t FAILS on strawberry perl (MS Windows)
Date: Sun, 16 Oct 2011 08:18:45 +0200
To: kmx via RT <bug-IO-Socket-SSL [...] rt.cpan.org>
From: Steffen Ullrich <Steffen_Ullrich [...] genua.de>
Hi, it's missing the "ok #got hup" from the client: 35 $SIG{HUP} = sub { ok("got hup") }; I guess i have to disable this test for windows, because it does not have real signals. Regards, Steffen Show quoted text
> It is probably just a bug in test count (you expect 9 but actually just 8 is > executed) as there is in fact nothing failing: > > C:\build\IO-Socket-SSL-1.45>prove -bv t\signal-readline.t > t\signal-readline.t .. > 1..9 > ok #Server Initialization > ok #client ssl connect > ok #got line > ok #accept > ok #wrote foo > ok #send hup > ok #wrote bar\n > ok #wait: 0 > Failed 1/9 subtests >
-- GeNUA Gesellschaft für Netzwerk - und Unix-Administration mbH Domagkstr. 7, D-85551 Kirchheim. http://www.genua.de Tel: (089) 99 19 50-0, Fax: (089) 99 10 50 - 999 Geschäftsführer: Dr. Magnus Harlander, Dr. Michaela Harlander, Bernhard Schneck. Amtsgericht München HRB 98238
fixed in 1.46 (test disabled on mswin32)
RT-Send-CC: Steffen_Ullrich [...] genua.de
On Tue Oct 18 02:31:34 2011, SULLR wrote: Show quoted text
> fixed in 1.46 (test disabled on mswin32)
$^O =~m{mswin32} should have /i regex modifier -- Alexandr Ciornii, http://chorny.net
fixed in 1.47