From d08070435ddcc834b663c1c5b7bc0995db87e8e6 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 4 Jun 2012 17:18:02 +0200 Subject: [PATCH] test: rename test tcp_dont_connect_after_write Rename test tcp_dont_connect_after_write to tcp_connect_error_after_write, teensy tad more descriptive. --- test/test-list.h | 4 ++-- ...ect-after-write.c => test-tcp-connect-error-after-write.c} | 2 +- uv.gyp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename test/{test-tcp-dont-connect-after-write.c => test-tcp-connect-error-after-write.c} (98%) diff --git a/test/test-list.h b/test/test-list.h index e349a689..737d5552 100644 --- a/test/test-list.h +++ b/test/test-list.h @@ -40,7 +40,7 @@ TEST_DECLARE (pipe_ping_pong) TEST_DECLARE (delayed_accept) TEST_DECLARE (multiple_listen) TEST_DECLARE (tcp_writealot) -TEST_DECLARE (tcp_dont_connect_after_write) +TEST_DECLARE (tcp_connect_error_after_write) TEST_DECLARE (tcp_bind_error_addrinuse) TEST_DECLARE (tcp_bind_error_addrnotavail_1) TEST_DECLARE (tcp_bind_error_addrnotavail_2) @@ -229,7 +229,7 @@ TASK_LIST_START TEST_ENTRY (tcp_writealot) TEST_HELPER (tcp_writealot, tcp4_echo_server) - TEST_ENTRY (tcp_dont_connect_after_write) + TEST_ENTRY (tcp_connect_error_after_write) TEST_ENTRY (tcp_bind_error_addrinuse) TEST_ENTRY (tcp_bind_error_addrnotavail_1) TEST_ENTRY (tcp_bind_error_addrnotavail_2) diff --git a/test/test-tcp-dont-connect-after-write.c b/test/test-tcp-connect-error-after-write.c similarity index 98% rename from test/test-tcp-dont-connect-after-write.c rename to test/test-tcp-connect-error-after-write.c index 9fdbe97a..a9c02037 100644 --- a/test/test-tcp-dont-connect-after-write.c +++ b/test/test-tcp-connect-error-after-write.c @@ -54,7 +54,7 @@ static void write_cb(uv_write_t* req, int status) { * (uv errno 12) and get connect_cb() called once with status != 0. * Related issue: https://github.com/joyent/libuv/issues/443 */ -TEST_IMPL(tcp_dont_connect_after_write) { +TEST_IMPL(tcp_connect_error_after_write) { uv_connect_t connect_req; struct sockaddr_in addr; uv_write_t write_req; diff --git a/uv.gyp b/uv.gyp index 15a1e996..2171fd8e 100644 --- a/uv.gyp +++ b/uv.gyp @@ -341,7 +341,7 @@ 'test/test-tcp-bind-error.c', 'test/test-tcp-bind6-error.c', 'test/test-tcp-close.c', - 'test/test-tcp-dont-connect-after-write.c', + 'test/test-tcp-connect-error-after-write.c', 'test/test-tcp-flags.c', 'test/test-tcp-connect-error.c', 'test/test-tcp-connect-timeout.c',