File: local.t

package info (click to toggle)
libsys-hostname-long-perl 1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 136 kB
  • sloc: perl: 188; makefile: 4
file content (12 lines) | stat: -rwxr-xr-x 189 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl -w
use strict;
use Test;

BEGIN { plan tests => 1 }

use Sys::Hostname::Long;

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

print "Your hostname = $hostname\n";