Subject: | t/external/usable_ca.t fails if OpenSSL/Net::SSLeay doesn't support SNI |
Perhaps t/external/usable_ca.t should check the SNI capability like t/sni.t does?
This is with openssl 0.9.8n and latest Net::SSLeay:
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/external/*.t
t/01loadmodule.t ........... ok
t/acceptSSL-timeout.t ...... ok
t/auto_verify_hostname.t ... ok
t/cert_no_file.t ........... ok
t/compatibility.t .......... ok
t/connectSSL-timeout.t ..... ok
t/core.t ................... ok
t/dhe.t .................... ok
t/ecdhe.t .................. skipped: no support for ecdh with this openssl/Net::SSLeay
# connection to www.google.com ok
# Failed test 'SSL upgrade with default CA and SSL_hostname'
# at t/external/usable_ca.t line 48.
# connection to www.live.com ok
# Failed test 'SSL upgrade with default CA and SSL_hostname'
# at t/external/usable_ca.t line 48.
# Looks like you failed 2 tests of 4.
t/external/usable_ca.t .....
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
t/io-socket-inet6.t ........ ok
t/io-socket-ip.t ........... skipped: no IO::Socket::IP 0.20 available
t/memleak_bad_handshake.t .. ok
t/mitm.t ................... ok
t/nonblock.t ............... ok
t/npn.t .................... skipped: NPN not available in Net::SSLeay
t/readline.t ............... ok
t/sessions.t ............... ok
t/signal-readline.t ........ ok
t/sni.t .................... skipped: because no client side SNI support - openssl/Net::SSleay too old
t/start-stopssl.t .......... ok
t/startssl-failed.t ........ ok
t/startssl.t ............... ok
t/sysread_write.t .......... ok
t/verify_fingerprint.t ..... ok
t/verify_hostname.t ........ ok
Test Summary Report
-------------------
t/external/usable_ca.t (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 2, 4
Non-zero exit status: 2
Files=26, Tests=332, 39 wallclock secs ( 0.15 usr 0.03 sys + 3.95 cusr 0.47 csys = 4.60 CPU)
Result: FAIL
Failed 1/26 test programs. 2/332 subtests failed.