Subject: | verify_fingerprint.t. test fails |
Using Activestate Perl 5.18.2 and MinGW-W64 4.6.3 OpenSSL 1.0.1g compiled with same compiler and passing all tests.
use strict;
use warnings;
use Test::More;
use IO::Socket::SSL;
use IO::Socket::SSL::Utils;
use File::Temp 'tempfile';
plan tests => 11;
plan skip_all => "fork not implemented on this platform"
if $^O =~m{MacOS|VOS|vmesa|riscos|amigaos|MSWin32};
... Hangs on the verify_fingerprint test forever.
Yet changing code to this form:
use strict;
use warnings;
use Test::More;
use IO::Socket::SSL;
use IO::Socket::SSL::Utils;
use File::Temp 'tempfile';
if ( $^O =~m{MacOS|VOS|vmesa|riscos|amigaos} ){
plan skip_all => "fork not implemented on this platform" }
else {
plan tests => 11;
};
Passing the verify_fingerprint.t test.
Curious why this is since strict is being used and does not complain about redefining the test plan.
--
Regards,
Pete Armstrong
pete.a64@gmail.com