Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
test: rename test tcp_dont_connect_after_write
Browse files Browse the repository at this point in the history
Rename test tcp_dont_connect_after_write to tcp_connect_error_after_write,
teensy tad more descriptive.
  • Loading branch information
bnoordhuis committed Jun 4, 2012
1 parent 76fa163 commit d080704
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/test-list.h
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion uv.gyp
Expand Up @@ -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',
Expand Down

0 comments on commit d080704

Please sign in to comment.