openbsd-ports/devel/nspr/patches/patch-nspr_pr_tests_socket_c
landry 2f281fa4a7 Update to nspr 4.23.
Remove patches from #1575821, merged upstream.
2019-10-23 19:28:36 +00:00

24 lines
656 B
Plaintext

$OpenBSD: patch-nspr_pr_tests_socket_c,v 1.3 2019/10/23 19:28:36 landry Exp $
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.
*/