summaryrefslogtreecommitdiff
path: root/lib/Net/hostent.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net/hostent.t')
-rw-r--r--lib/Net/hostent.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Net/hostent.t b/lib/Net/hostent.t
index e82cf85a37..9c6fa1318e 100644
--- a/lib/Net/hostent.t
+++ b/lib/Net/hostent.t
@@ -5,7 +5,7 @@ BEGIN {
@INC = '../lib';
}
-use Test::More tests => 7;
+use Test::More;
BEGIN {
require Config; import Config;
@@ -14,8 +14,12 @@ BEGIN {
{
plan skip_all => "Test uses Socket, Socket not built";
}
+ if ($^O eq 'MacOS') {
+ plan skip_all => "Test relies on resolution of localhost, fails on Mac OS";
+ }
}
+use Test::More tests => 7;
BEGIN { use_ok 'Net::hostent' }