X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FNet%2Fhostent.t;h=2616b56425d2ca565999f4023fc33b2254419cd7;hb=205139309c69f63594ea4a222bdb8a00596cdd2f;hp=e82cf85a371804061d979b494b6716470612b03a;hpb=c4fbe2471f42249bd57e1c071c99349d2331aea5;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Net/hostent.t b/lib/Net/hostent.t index e82cf85..2616b56 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' || ($^O eq 'irix' && $Config{osvers} == 5)) { + plan skip_all => "Test relies on resolution of localhost, fails on $^O ($Config{osvers})"; + } } +use Test::More tests => 7; BEGIN { use_ok 'Net::hostent' }