File: local.t

package info (click to toggle)
libsys-hostname-long-perl 1.4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 68 kB
  • ctags: 13
  • sloc: perl: 188; makefile: 50
file content (15 lines) | stat: -rwxr-xr-x 223 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl -w
use strict;
use Test;

use lib '../lib';
use lib 'lib';

BEGIN { plan tests => 1 }

use Sys::Hostname::Long;

my $hostname = hostname_long(1,1);
ok($hostname ne "");

print "Your hostname = $hostname\n";