diff options
author | Igor Zinkovsky <igorzi@microsoft.com> | 2012-03-02 02:40:04 +0400 |
---|---|---|
committer | Igor Zinkovsky <igorzi@microsoft.com> | 2012-03-02 02:40:04 +0400 |
commit | 5e803219d84f75b5c24359360e84894d8763522c (patch) | |
tree | 6a0841666ebe9d2ff5d5aff4aff877051642ee17 /deps | |
parent | 9be20afeb56f788319bea687ba16098fe2a915af (diff) |
update libuv to 702f905f73
Diffstat (limited to 'deps')
-rw-r--r-- | deps/uv/test/test-pipe-connect-error.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/uv/test/test-pipe-connect-error.c b/deps/uv/test/test-pipe-connect-error.c index 97734caacf3..4a6c5110faa 100644 --- a/deps/uv/test/test-pipe-connect-error.c +++ b/deps/uv/test/test-pipe-connect-error.c @@ -52,7 +52,8 @@ static void connect_cb(uv_connect_t* connect_req, int status) { static void connect_cb_file(uv_connect_t* connect_req, int status) { ASSERT(status == -1); - ASSERT(uv_last_error(uv_default_loop()).code == UV_ENOTSOCK); + ASSERT(uv_last_error(uv_default_loop()).code == UV_ENOTSOCK || + uv_last_error(uv_default_loop()).code == UV_ECONNREFUSED); uv_close((uv_handle_t*)connect_req->handle, close_cb); connect_cb_called++; } |