summaryrefslogtreecommitdiff
path: root/lib/Net/netent.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net/netent.t')
-rw-r--r--lib/Net/netent.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/netent.t b/lib/Net/netent.t
index e73122ccc4..125f994962 100644
--- a/lib/Net/netent.t
+++ b/lib/Net/netent.t
@@ -8,7 +8,7 @@ BEGIN {
BEGIN {
our $hasne;
eval { my @n = getnetbyname "loopback" };
- $hasne = 1 unless $@ && $@ =~ /unimplemented/;
+ $hasne = 1 unless $@ && $@ =~ /unimplemented|unsupported/i;
unless ($hasne) { print "1..0 # Skip: no getnetbyname\n"; exit 0 }
use Config;
$hasne = 0 unless $Config{'i_netdb'} eq 'define';