File: loadmodule.t

package info (click to toggle)
libhttp-daemon-ssl-perl 1.05-01-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 824 kB
  • sloc: perl: 190; makefile: 19; sh: 2
file content (21 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl t/01loadmodule.t'

######################### We start with some black magic to print on failure.

BEGIN { $| = 1; print "1..3\n"; }
END {print "Load failed ... not ok 1\n" unless $loaded;}

use IO::Socket::SSL qw(:debug1);
$loaded = 1;
$test=1;
print "ok $test\n";

$test++;
if ($IO::Socket::SSL::DEBUG == 1) { print "ok $test\n"; }
else { print "not ok $test\n"; }

$test++;
if ($Net::SSLeay::trace == 1) { print "ok $test\n"; }
else { print "not ok $test\n"; }