diff options
author | Bert Belder <bertbelder@gmail.com> | 2012-10-16 17:20:32 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2012-10-17 01:24:49 +0200 |
commit | 47eb03490ac6e2456f903c0e72ecb22f68b3d0e9 (patch) | |
tree | 286060fb932d5de15e5d64db002f37ba7c049bf7 /test/test-tcp-bind6-error.c | |
parent | 28eb619c6504e7f6c10f517487679980aa8560bd (diff) | |
download | libuv-47eb03490ac6e2456f903c0e72ecb22f68b3d0e9.tar.gz libuv-47eb03490ac6e2456f903c0e72ecb22f68b3d0e9.zip |
test: move loop cleanup code to the individual tests
Diffstat (limited to 'test/test-tcp-bind6-error.c')
-rw-r--r-- | test/test-tcp-bind6-error.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-tcp-bind6-error.c b/test/test-tcp-bind6-error.c index 5a8b7636..f281b94e 100644 --- a/test/test-tcp-bind6-error.c +++ b/test/test-tcp-bind6-error.c @@ -63,6 +63,7 @@ TEST_IMPL(tcp_bind6_error_addrinuse) { ASSERT(close_cb_called == 2); + MAKE_VALGRIND_HAPPY(); return 0; } @@ -84,6 +85,7 @@ TEST_IMPL(tcp_bind6_error_addrnotavail) { ASSERT(close_cb_called == 1); + MAKE_VALGRIND_HAPPY(); return 0; } @@ -109,6 +111,7 @@ TEST_IMPL(tcp_bind6_error_fault) { ASSERT(close_cb_called == 1); + MAKE_VALGRIND_HAPPY(); return 0; } @@ -135,6 +138,7 @@ TEST_IMPL(tcp_bind6_error_inval) { ASSERT(close_cb_called == 1); + MAKE_VALGRIND_HAPPY(); return 0; } @@ -150,5 +154,6 @@ TEST_IMPL(tcp_bind6_localhost_ok) { r = uv_tcp_bind6(&server, addr); ASSERT(r == 0); + MAKE_VALGRIND_HAPPY(); return 0; } |