run test named ip6_sin6_len
This appears to have been missed in the original PR. Refs: https://github.com/libuv/libuv/pull/2492 Refs: https://github.com/libuv/libuv/issues/2655 (fixes one issue listed) PR-URL: https://github.com/libuv/libuv/pull/3246 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This commit is contained in:
parent
574c49f07f
commit
bd7fcf1bfc
@ -161,11 +161,11 @@ TEST_IMPL(ip6_pton) {
|
||||
#undef GOOD_ADDR_LIST
|
||||
#undef BAD_ADDR_LIST
|
||||
|
||||
#ifdef SIN6_LEN
|
||||
TEST_IMPL(ip6_sin6_len) {
|
||||
struct sockaddr_in6 s;
|
||||
ASSERT(uv_ip6_addr("::", 0, &s) < 0);
|
||||
ASSERT_EQ(0, uv_ip6_addr("::", 0, &s));
|
||||
#ifdef SIN6_LEN
|
||||
ASSERT(s.sin6_len == sizeof(s));
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -78,6 +78,7 @@ TEST_DECLARE (tty_pty)
|
||||
TEST_DECLARE (stdio_over_pipes)
|
||||
TEST_DECLARE (stdio_emulate_iocp)
|
||||
TEST_DECLARE (ip6_pton)
|
||||
TEST_DECLARE (ip6_sin6_len)
|
||||
TEST_DECLARE (connect_unspecified)
|
||||
TEST_DECLARE (ipc_heavy_traffic_deadlock_bug)
|
||||
TEST_DECLARE (ipc_listen_before_write)
|
||||
@ -610,6 +611,7 @@ TASK_LIST_START
|
||||
TEST_ENTRY (stdio_over_pipes)
|
||||
TEST_ENTRY (stdio_emulate_iocp)
|
||||
TEST_ENTRY (ip6_pton)
|
||||
TEST_ENTRY (ip6_sin6_len)
|
||||
TEST_ENTRY (connect_unspecified)
|
||||
TEST_ENTRY (ipc_heavy_traffic_deadlock_bug)
|
||||
TEST_ENTRY (ipc_listen_before_write)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user