1 # Before `make install' is performed this script should be runnable with
2 # `make test'. After `make install' it should work as `perl t/01loadmodule.t'
4 ######################### We start with some black magic to print on failure.
6 BEGIN { $| = 1; print "1..4\n"; }
7 END {print "Load failed ... not ok 1\n" unless $loaded;}
10 BEGIN { $foo = 0; $SIG{__DIE__} = sub { $foo++ if !$^S } unless ($] < 5.006); }
11 use IO::Socket::SSL qw(:debug1);
17 if ($foo) { print "not ";}
22 if ($IO::Socket::SSL::DEBUG == 1) { print "ok $test\n"; }
23 else { print "not ok $test\n"; }
26 if ($Net::SSLeay::trace == 1) { print "ok $test\n"; }
27 else { print "not ok $test\n"; }