This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Net::hostent fails make test if can't resolve localhost
authorDavid Cantrell <david@cantrell.org.uk>
Wed, 8 Apr 2009 12:49:14 +0000 (14:49 +0200)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 8 Apr 2009 12:49:14 +0000 (14:49 +0200)
commit932dfdf14c16835fc3ab6ba0cb0dab9254dfd017
treee5208016d10154610ee0c0d82726571fa241a3ab
parenta8ba03fb2070c532259a5d9d434d5b61c757d31d
Net::hostent fails make test if can't resolve localhost

This happens on boxes which otherwise work Just Fine and whose resolvers
work Just Fine if they don't have /etc/hosts. This patch fixes the test
file by making it skip if localhost can't be resolved and /etc/hosts
doesn't exist.

Message-ID: <20090330205715.GA29690@bytemark.barnyard.co.uk>
lib/Net/hostent.t