aboutsummaryrefslogtreecommitdiff
path: root/deps/uv/test/test-fork.c
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-06-22 11:28:11 -0400
committercjihrig <cjihrig@gmail.com>2018-06-24 20:54:34 -0400
commit537a4baa443daea9850a8e324b5b4d7c21dd2717 (patch)
treef36565e62794a56adfa99a8511c6d2a90c466fbc /deps/uv/test/test-fork.c
parent49e5f0a10fc3784b318842b06854b38475fc884b (diff)
downloadandroid-node-v8-537a4baa443daea9850a8e324b5b4d7c21dd2717.tar.gz
android-node-v8-537a4baa443daea9850a8e324b5b4d7c21dd2717.tar.bz2
android-node-v8-537a4baa443daea9850a8e324b5b4d7c21dd2717.zip
deps: upgrade to libuv 1.21.0
Notable changes: - Building via cmake is now supported. PR-URL: https://github.com/libuv/libuv/pull/1850 - Stricter checks have been added to prevent watching the same file descriptor multiple times. PR-URL: https://github.com/libuv/libuv/pull/1851 Refs: https://github.com/nodejs/node/issues/3604 - An IPC deadlock on Windows has been fixed. PR-URL: https://github.com/libuv/libuv/pull/1843 Fixes: https://github.com/nodejs/node/issues/9706 Fixes: https://github.com/nodejs/node/issues/7657 - uv_fs_lchown() has been added. PR-URL: https://github.com/libuv/libuv/pull/1826 Refs: https://github.com/nodejs/node/issues/19868 - uv_fs_copyfile() sets errno on error. PR-URL: https://github.com/libuv/libuv/pull/1881 Fixes: https://github.com/nodejs/node/issues/21329 - uv_fs_fchmod() supports -A files on Windows. PR-URL: https://github.com/libuv/libuv/pull/1819 Refs: https://github.com/nodejs/node/issues/12803 PR-URL: https://github.com/nodejs/node/pull/21466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps/uv/test/test-fork.c')
-rw-r--r--deps/uv/test/test-fork.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/deps/uv/test/test-fork.c b/deps/uv/test/test-fork.c
index 39b59c8f20..2a1ddc497a 100644
--- a/deps/uv/test/test-fork.c
+++ b/deps/uv/test/test-fork.c
@@ -317,8 +317,7 @@ TEST_IMPL(fork_signal_to_child_closed) {
printf("Waiting for child in parent\n");
assert_wait_child(child_pid);
} else {
- /* child */
- /* Our signal handler should still be installed. */
+ /* Child. Our signal handler should still be installed. */
ASSERT(0 == uv_loop_fork(uv_default_loop()));
printf("Checking loop in child\n");
ASSERT(0 != uv_loop_alive(uv_default_loop()));
@@ -652,13 +651,11 @@ TEST_IMPL(fork_threadpool_queue_work_simple) {
ASSERT(child_pid != -1);
if (child_pid != 0) {
- /* parent */
- /* We can still run work. */
+ /* Parent. We can still run work. */
assert_run_work(uv_default_loop());
assert_wait_child(child_pid);
} else {
- /* child */
- /* We can work in a new loop. */
+ /* Child. We can work in a new loop. */
printf("Running child in %d\n", getpid());
uv_loop_init(&loop);
printf("Child first watch\n");