File: local.t

package info (click to toggle)
libsys-hostname-long-perl 1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 116 kB
  • ctags: 14
  • sloc: perl: 188; makefile: 2
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";