test: disable tcp_close_accept on Windows
It always was a Unix only test
This commit is contained in:
parent
2e9d86e105
commit
d802486232
@ -73,7 +73,9 @@ TEST_DECLARE (tcp_connect_error_fault)
|
|||||||
TEST_DECLARE (tcp_connect_timeout)
|
TEST_DECLARE (tcp_connect_timeout)
|
||||||
TEST_DECLARE (tcp_close_while_connecting)
|
TEST_DECLARE (tcp_close_while_connecting)
|
||||||
TEST_DECLARE (tcp_close)
|
TEST_DECLARE (tcp_close)
|
||||||
|
#ifndef _WIN32
|
||||||
TEST_DECLARE (tcp_close_accept)
|
TEST_DECLARE (tcp_close_accept)
|
||||||
|
#endif
|
||||||
TEST_DECLARE (tcp_flags)
|
TEST_DECLARE (tcp_flags)
|
||||||
TEST_DECLARE (tcp_write_to_half_open_connection)
|
TEST_DECLARE (tcp_write_to_half_open_connection)
|
||||||
TEST_DECLARE (tcp_unexpected_read)
|
TEST_DECLARE (tcp_unexpected_read)
|
||||||
@ -358,7 +360,9 @@ TASK_LIST_START
|
|||||||
TEST_ENTRY (tcp_connect_timeout)
|
TEST_ENTRY (tcp_connect_timeout)
|
||||||
TEST_ENTRY (tcp_close_while_connecting)
|
TEST_ENTRY (tcp_close_while_connecting)
|
||||||
TEST_ENTRY (tcp_close)
|
TEST_ENTRY (tcp_close)
|
||||||
|
#ifndef _WIN32
|
||||||
TEST_ENTRY (tcp_close_accept)
|
TEST_ENTRY (tcp_close_accept)
|
||||||
|
#endif
|
||||||
TEST_ENTRY (tcp_flags)
|
TEST_ENTRY (tcp_flags)
|
||||||
TEST_ENTRY (tcp_write_to_half_open_connection)
|
TEST_ENTRY (tcp_write_to_half_open_connection)
|
||||||
TEST_ENTRY (tcp_unexpected_read)
|
TEST_ENTRY (tcp_unexpected_read)
|
||||||
|
|||||||
@ -19,6 +19,9 @@
|
|||||||
* IN THE SOFTWARE.
|
* IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* this test is Unix only */
|
||||||
|
#ifndef _WIN32
|
||||||
|
|
||||||
#include "uv.h"
|
#include "uv.h"
|
||||||
#include "task.h"
|
#include "task.h"
|
||||||
|
|
||||||
@ -181,3 +184,5 @@ TEST_IMPL(tcp_close_accept) {
|
|||||||
MAKE_VALGRIND_HAPPY();
|
MAKE_VALGRIND_HAPPY();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* !_WIN32 */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user