Another victim of IRIX 5.3's inability to resolve 'localhost'
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 30 Mar 2003 09:09:42 +0000 (09:09 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 30 Mar 2003 09:09:42 +0000 (09:09 +0000)
as the test expects.

p4raw-id: //depot/perl@19088

lib/Net/hostent.t

index 9c6fa13..2616b56 100644 (file)
@@ -14,8 +14,8 @@ 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";
+    if ($^O eq 'MacOS' || ($^O eq 'irix' && $Config{osvers} == 5)) {
+       plan skip_all => "Test relies on resolution of localhost, fails on $^O ($Config{osvers})";
     }
 }