com php-src: Add ipv6 skipif to test: ext/sockets/tests/socket _sendrecvmsg_multi_msg.phpt
| From: | Nikita Popov | Date: | Wed, 05 Aug 2020 10:09:54 +0000 |
| Subject: | com php-src: Add ipv6 skipif to test: ext/sockets/tests/socket _sendrecvmsg_multi_msg.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112570@lists.php.net to get a copy of this message | ||
Commit: 58ab49111e5ac595a594ac7c87efe9d470ec84de
Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 5 Aug 2020 11:02:21 +0200
Parents: 34e7d78df73935477b5d603f3aa579389f3bef33
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=58ab49111e5ac595a594ac7c87efe9d470ec84de
Log:
Add ipv6 skipif to test
This was done for the -unix variant, but not the (formerly
windows-only?) main test.
Changed paths:
M ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt
Diff:
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";