summaryrefslogtreecommitdiff
path: root/ext/sockets
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-08-05 11:02:21 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-08-05 12:09:54 +0200
commit58ab49111e5ac595a594ac7c87efe9d470ec84de (patch)
tree361cd8481faf13a922fda9879f1dff6033e1c978 /ext/sockets
parent34e7d78df73935477b5d603f3aa579389f3bef33 (diff)
downloadphp-git-58ab49111e5ac595a594ac7c87efe9d470ec84de.tar.gz
Add ipv6 skipif to test
This was done for the -unix variant, but not the (formerly windows-only?) main test.
Diffstat (limited to 'ext/sockets')
-rw-r--r--ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt b/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt
index 88654e1973..72b90d0527 100644
--- a/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt
+++ b/ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt
@@ -4,12 +4,16 @@ sendmsg()/recvmsg(): test ability to receive multiple messages (WIN32)
<?php
if (!extension_loaded('sockets'))
die('skip sockets extension not available.');
+
+require 'ipv6_skipif.inc';
+
if (!defined('IPPROTO_IPV6'))
die('skip IPv6 not available.');
/* 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
- * corectly by sending an IPV6_PKTINFO message that will have no effect */
+ * does not accept IPV6_TCLASS messages. We still test that sendmsg() works
+ * correctly by sending an IPV6_PKTINFO message that will have no effect */
+?>
--FILE--
<?php
include __DIR__."/mcast_helpers.php.inc";