From 45e5ac356d56a01ae2346a128935e437cf3acdce Mon Sep 17 00:00:00 2001 From: Mizunashi Mana Date: Sat, 10 Nov 2018 02:14:54 +0900 Subject: [PATCH] Skip socket sendrecv test (WIN32) not for Windows --- ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt b/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt index 70867e755a0e2..99f7f1e73a591 100644 --- a/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt +++ b/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt @@ -6,6 +6,8 @@ if (!extension_loaded('sockets')) die('skip sockets extension not available.'); if (!defined('IPPROTO_IPV6')) die('skip IPv6 not available.'); +if (substr(PHP_OS, 0, 3) != 'WIN') + die('skip not for Windows'); /* Windows supports IPV6_RECVTCLASS and is able to receive the tclass via * WSARecvMsg (though only the top 6 bits seem to reported), but WSASendMsg * does not accept IPV6_TCLASS messages. We still test that sendmsg() works