Subject: | Fails tests on Win32 (but works with a basic echo server?) |
Here's the failure:
C:\Inetpub\wwwroot>cpanm IO::Async::SSL -v
cpanm (App::cpanminus) 1.5017 on perl 5.016001 built for MSWin32-x86-multi-thread
Work directory is C:\Users\Administrator/.cpanm/work/1405350779.593784
You have make C:\Inetpub\strawberry\c\bin\dmake.exe
You have LWP 6.04
Falling back to Archive::Tar 1.88
Searching IO::Async::SSL on cpanmetadb ...
--> Working on IO::Async::SSL
Fetching http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Async-SSL-0.14.tar.gz ... OK
Unpacking IO-Async-SSL-0.14.tar.gz
Entering IO-Async-SSL-0.14
Checking configure dependencies from META.yml
Configuring IO-Async-SSL-0.14 ... Running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'IO-Async-SSL' version '0.14'
OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.88 ... Yes (1.001003)
Checking if you have IO::Async::OS 0 ... Yes (0.62)
Checking if you have IO::Socket::SSL 0 ... Yes (1.76)
Checking if you have IO::Async::Stream 0.59 ... Yes (0.62)
Checking if you have IO::Async::Protocol::Stream 0 ... Yes (0.62)
Checking if you have IO::Async::Loop 0.61 ... Yes (0.62)
Checking if you have IO::Async::Handle 0.29 ... Yes (0.62)
Building and testing IO-Async-SSL-0.14 ... Building IO-Async-SSL
t\00use.t ............... ok
t\01upgrade.t ........... ok
t\02protocol-upgrade.t .. ok
t\03cross.t ............. ok
t\04readwrite.t ......... connect: The requested address is not valid in its context. at t\04readwri
te.t line 31.
t\04readwrite.t ......... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t\10connect-openssl.t ... The system cannot find the path specified.
t\10connect-openssl.t ... skipped: no openssl
t\10connect-socat.t ..... The system cannot find the path specified.
t\10connect-socat.t ..... skipped: no socat
t\11listen-openssl.t .... The system cannot find the path specified.
Can't kill a non-numeric process ID at t\11listen-openssl.t line 58.
END failed--call queue aborted at t\11listen-openssl.t line 760.
t\11listen-openssl.t .... skipped: no openssl
t\11listen-socat.t ...... The system cannot find the path specified.
t\11listen-socat.t ...... skipped: no socat
t\20stream.t ............ ok
t\99pod.t ............... skipped: Test::Pod 1.00 required for testing POD
Test Summary Report
-------------------
t\04readwrite.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t\11listen-openssl.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Files=11, Tests=32, 21 wallclock secs ( 0.11 usr + 0.02 sys = 0.12 CPU)
Result: FAIL
Failed 2/11 test programs. 0/32 subtests failed.
FAIL
! Installing IO::Async::SSL failed. See C:\Users\Administrator\.cpanm\build.log for details.
C:\Inetpub\wwwroot>cpanm IO::Async::SSL -n
--> Working on IO::Async::SSL
Fetching http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Async-SSL-0.14.tar.gz ... OK
Configuring IO-Async-SSL-0.14 ... OK
Building IO-Async-SSL-0.14 ... OK
Successfully installed IO-Async-SSL-0.14
1 distribution installed
but on the other hand, this works: https://github.com/frioux/TLS-play/blob/1a622f9c6e4088f23088fdea6e1b43d4fe285381/server.pl