[poe-commits] poe/t 29_sockfact6.t,1.13,1.14
Brought to you by:
rcaputo
From: <rc...@us...> - 2004-05-24 04:34:22
|
Update of /cvsroot/poe/poe/t In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11612/t Modified Files: 29_sockfact6.t Log Message: Migrated the Socket6 code from the deprecated gethostbyname2() to the current standard getaddrinfo(). The new call is heavy on context-sensitive features, but it combines gethostbyname2() and pack_sockaddr_in6() so it's not all bad. Also, Solaris should like it, so this closes RT#6191. Oh, and I made the t/29_sockfact6.t skip messages a little more informative. As usual, CVS is committing touched files along for the ride. It doesn't matter that their content hasn't changed. Index: 29_sockfact6.t =================================================================== RCS file: /cvsroot/poe/poe/t/29_sockfact6.t,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** 29_sockfact6.t 31 Jan 2004 06:58:30 -0000 1.13 --- 29_sockfact6.t 24 May 2004 04:34:10 -0000 1.14 *************** *** 82,86 **** sub server_got_error { my ($syscall, $errno, $error) = @_[ARG0..ARG2]; ! ok(2, "# skipped: AF_INET6 probably not supported"); } --- 82,89 ---- sub server_got_error { my ($syscall, $errno, $error) = @_[ARG0..ARG2]; ! ok( ! 2, ! "skipped: AF_INET6 probably not supported ($syscall error $errno: $error)" ! ); } *************** *** 132,137 **** sub client_got_connect_error { my ($syscall, $errno, $error) = @_[ARG0..ARG2]; ! ok(3, "# skipped: AF_INET6 probably not supported"); ! ok(4, "# skipped: AF_INET6 probably not supported"); } --- 135,146 ---- sub client_got_connect_error { my ($syscall, $errno, $error) = @_[ARG0..ARG2]; ! ok( ! 3, ! "skipped: AF_INET6 probably not supported ($syscall error $errno: $error)" ! ); ! ok( ! 4, ! "skipped: AF_INET6 probably not supported ($syscall error $errno: $error)" ! ); } |