Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make sure we're able to import getaddrinfo()
  • Loading branch information
hinrik committed Dec 7, 2011
1 parent 7e13c8b commit 0679c8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
@@ -1,6 +1,7 @@
Revision history for Perl extension POE::Component::IRC.

{{$NEXT}}
- Prevent an IPv6 test failure

6.77 Fri Dec 2 03:55:14 GMT 2011
- Prevent a test failure in 06_online.t if the host is K-lined
Expand Down
2 changes: 1 addition & 1 deletion t/02_behavior/04_ipv6.t
Expand Up @@ -26,7 +26,7 @@ BEGIN {
# Perl-5.14.0 will core getaddrinfo() in it's Socket.pm
eval { Socket->import('getaddrinfo') };
if ($@) {
eval { require Socket::GetAddrInfo };
eval { require Socket::GetAddrInfo; Socket::GetAddrInfo->import(qw(:newapi getaddrinfo)) };
if ($@) {
plan skip_all => 'Socket::GetAddrInfo is needed for IPv6 tests';
}
Expand Down

0 comments on commit 0679c8e

Please sign in to comment.