summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/t/lib/hostname.t
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/t/lib/hostname.t')
-rwxr-xr-xcontrib/perl5/t/lib/hostname.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/perl5/t/lib/hostname.t b/contrib/perl5/t/lib/hostname.t
index e4ac365..6f61fb9 100755
--- a/contrib/perl5/t/lib/hostname.t
+++ b/contrib/perl5/t/lib/hostname.t
@@ -2,7 +2,7 @@
BEGIN {
chdir 't' if -d 't';
- @INC = '../lib';
+ unshift @INC, '../lib';
}
use Sys::Hostname;
@@ -15,5 +15,6 @@ if ($@) {
print "1..0\n" if $@ =~ /Cannot get host name/;
} else {
print "1..1\n";
+ print "# \$host = `$host'\n";
print "ok 1\n";
}
OpenPOWER on IntegriCloud