File: test.pl

package info (click to toggle)
libnet-finger-perl 1.06-6.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 48 kB
  • ctags: 4
  • sloc: perl: 74; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'

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

use Net::Finger;

$loaded = 1;
print "ok 1\n";

# I'm not going to define tests here, since they would rely on
# having a working network and working finger server on a
# hard-wired other end. Shudder. Too many external variables.