ports/devel/nspr/patches/patch-nspr_pr_tests_socket_c

21 lines
577 B
Text

disable ipv6 socket tests, they hang ?
Index: nspr/pr/tests/socket.c
--- nspr/pr/tests/socket.c.orig
+++ nspr/pr/tests/socket.c
@@ -2209,6 +2209,7 @@ int main(int argc, char **argv)
/*
* client-server test, Ipv6-Ipv4
*/
+ #if !defined(__OpenBSD__)
client_domain = PR_AF_INET6;
printf("TCP Client/Server Test - IPv6/Ipv4\n");
if (TCP_Socket_Client_Server_Test() < 0) {
@@ -2243,6 +2244,7 @@ int main(int argc, char **argv)
}
test_cancelio = 0;
+ #endif
/*
* Misc socket tests - including transmitfile, etc.
*/