summaryrefslogtreecommitdiff
path: root/deps/uv/test/test-ref.c
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2012-06-19 00:57:29 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2012-06-19 01:03:11 +0400
commit057b80611f977789f6c1334fdf3680c105af364e (patch)
tree25a0e770c9c1d089c10b87184e5eedca92974669 /deps/uv/test/test-ref.c
parent30ab1f567d6dda2f1e6d48bd96a9034406b3c2b1 (diff)
downloadandroid-node-v8-057b80611f977789f6c1334fdf3680c105af364e.tar.gz
android-node-v8-057b80611f977789f6c1334fdf3680c105af364e.tar.bz2
android-node-v8-057b80611f977789f6c1334fdf3680c105af364e.zip
uv: upgrade to 61a6e06e
Diffstat (limited to 'deps/uv/test/test-ref.c')
-rw-r--r--deps/uv/test/test-ref.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/deps/uv/test/test-ref.c b/deps/uv/test/test-ref.c
index cc59aa7b6c..e0c38858ec 100644
--- a/deps/uv/test/test-ref.c
+++ b/deps/uv/test/test-ref.c
@@ -168,6 +168,16 @@ TEST_IMPL(fs_event_ref) {
}
+TEST_IMPL(fs_poll_ref) {
+ uv_fs_poll_t h;
+ uv_fs_poll_init(uv_default_loop(), &h);
+ uv_fs_poll_start(&h, NULL, ".", 999);
+ uv_unref((uv_handle_t*)&h);
+ uv_run(uv_default_loop());
+ return 0;
+}
+
+
TEST_IMPL(tcp_ref) {
uv_tcp_t h;
uv_tcp_init(uv_default_loop(), &h);