forked from cory/tildefriends
libuv 1.45.0, #include cleanup, probably something else.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4308 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
5
deps/libuv/test/test-tcp-rst.c
vendored
5
deps/libuv/test/test-tcp-rst.c
vendored
@ -76,6 +76,9 @@ static void connect_cb(uv_connect_t *req, int status) {
|
||||
* RST. Test checks that uv_guess_handle still works on a reset TCP handle.
|
||||
*/
|
||||
TEST_IMPL(tcp_rst) {
|
||||
#if defined(__OpenBSD__)
|
||||
RETURN_SKIP("Test does not currently work in OpenBSD");
|
||||
#endif
|
||||
#ifndef _WIN32
|
||||
struct sockaddr_in server_addr;
|
||||
int r;
|
||||
@ -99,7 +102,7 @@ TEST_IMPL(tcp_rst) {
|
||||
ASSERT_EQ(called_connect_cb, 1);
|
||||
ASSERT_EQ(called_close_cb, 1);
|
||||
|
||||
MAKE_VALGRIND_HAPPY();
|
||||
MAKE_VALGRIND_HAPPY(uv_default_loop());
|
||||
return 0;
|
||||
#else
|
||||
RETURN_SKIP("Unix only test");
|
||||
|
Reference in New Issue
Block a user