From e69a2255d0db4d110e403864fcb97407ce8e4ff9 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 30 May 2002 13:29:13 +0000 Subject: Integrate macperl patch #16868. p4raw-id: //depot/perl@16882 p4raw-integrated: from //depot/macperl@16881 'copy in' ext/B/B/Concise.pm ext/B/t/deparse.t ext/B/t/terse.t ext/DynaLoader/DynaLoader_pm.PL ext/IO/lib/IO/t/io_dup.t ext/POSIX/t/sigaction.t ext/PerlIO/t/encoding.t ext/Socket/Socket.t lib/AutoSplit.t lib/Net/Ping/t/110_icmp_inst.t lib/Net/hostent.t lib/Pod/t/Usage.t lib/Pod/t/pod2html-lib.pl lib/Test/Harness/t/callback.t lib/blib.pm lib/strict.t lib/subs.t t/lib/filter-util.pl t/lib/warnings/doio t/lib/warnings/mg t/x2p/s2p.t (@16123..) lib/Test/Simple/t/exit.t (@16230..) lib/open.t lib/warnings.t (@16255..) perl.c (@16475..) lib/Unicode/Collate.pm lib/Unicode/UCD.t (@16651..) ext/PerlIO/t/fallback.t lib/Test/Harness/t/strap-analyze.t lib/Test/Harness/t/test-harness.t (@16825..) p4raw-integrated: from //depot/macperl@16868 'copy in' lib/blib.t (@16123..) t/lib/warnings/op (@16230..) ext/Cwd/t/cwd.t ext/Digest/MD5/t/files.t (@16475..) 'merge in' ext/Storable/t/utf8hash.t lib/Test/Harness/Straps.pm (@16730..) --- lib/Net/hostent.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/Net/hostent.t') 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' } -- cgit v1.2.1