summaryrefslogtreecommitdiff
path: root/deps/uv/test/test-shutdown-eof.c
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-09-15 15:29:32 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-09-15 15:37:57 -0700
commit2d0b1ed7ad3f025630d55d79d4ca9b5218e49a69 (patch)
treed9ef74f3a845716afd92e124c9cfee52ff189825 /deps/uv/test/test-shutdown-eof.c
parent1b0a5cbaaa3e576c7759736f94dbbda78aedb6a2 (diff)
downloadandroid-node-v8-2d0b1ed7ad3f025630d55d79d4ca9b5218e49a69.tar.gz
android-node-v8-2d0b1ed7ad3f025630d55d79d4ca9b5218e49a69.tar.bz2
android-node-v8-2d0b1ed7ad3f025630d55d79d4ca9b5218e49a69.zip
Upgrade libuv to 2640aae
Add test for bug fixed in joyent/libuv@2640aae1
Diffstat (limited to 'deps/uv/test/test-shutdown-eof.c')
-rw-r--r--deps/uv/test/test-shutdown-eof.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/uv/test/test-shutdown-eof.c b/deps/uv/test/test-shutdown-eof.c
index d4ad085e10..9d4f2cce74 100644
--- a/deps/uv/test/test-shutdown-eof.c
+++ b/deps/uv/test/test-shutdown-eof.c
@@ -156,7 +156,9 @@ TEST_IMPL(shutdown_eof) {
qbuf.base = "Q";
qbuf.len = 1;
- uv_timer_init(uv_default_loop(), &timer);
+ r = uv_timer_init(uv_default_loop(), &timer);
+ ASSERT(r == 0);
+
uv_timer_start(&timer, timer_cb, 100, 0);
server_addr = uv_ip4_addr("127.0.0.1", TEST_PORT);