libuv/test
SmorkalovG 2a4cab70ef
unix: reset signal counters after fork (#3485)
If a signal was received but was not dispatched before fork then
caught_signals counter should be reset. Closing of signal pipe makes
impossible to receive the signal that was counted.
There is no need in this signal because it was sent to parent process

Fixes: https://github.com/libuv/libuv/issues/3483
2023-09-29 12:54:35 +02:00
..
fixtures unix,win: fix memory leak in uv_fs_scandir() (#3760) 2022-09-22 09:25:55 +02:00
benchmark-async-pummel.c test: don't use static buffer for formatting (#3953) 2023-04-14 16:54:28 +02:00
benchmark-async.c test: don't use static buffer for formatting (#3953) 2023-04-14 16:54:28 +02:00
benchmark-fs-stat.c test: don't use static buffer for formatting (#3953) 2023-04-14 16:54:28 +02:00
benchmark-getaddrinfo.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
benchmark-list.h bench: add bench to check uv_loop_alive (#4065 1/2) 2023-06-21 11:31:25 -06:00
benchmark-loop-count.c bench: add bench to check uv_loop_alive (#4065 1/2) 2023-06-21 11:31:25 -06:00
benchmark-million-async.c test: don't use static buffer for formatting (#3953) 2023-04-14 16:54:28 +02:00
benchmark-million-timers.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
benchmark-multi-accept.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
benchmark-ping-pongs.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
benchmark-ping-udp.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
benchmark-pound.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
benchmark-pump.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
benchmark-queue-work.c test: don't use static buffer for formatting (#3953) 2023-04-14 16:54:28 +02:00
benchmark-sizes.c test: remove LOG and LOGF variadic macros 2015-04-12 18:44:34 +02:00
benchmark-spawn.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
benchmark-tcp-write-batch.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
benchmark-thread.c Make the thread_create benchmark not time out 2012-03-09 17:53:48 +01:00
benchmark-udp-pummel.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
blackhole-server.c test: move to ASSERT_NULL and ASSERT_NOT_NULL test macros 2021-02-14 10:05:46 +01:00
echo-server.c unix,stream: fix loop hang after uv_shutdown 2021-07-13 10:54:02 -04:00
run-benchmarks.c benchmark: remove unreachable code 2021-04-04 17:47:37 +02:00
run-tests.c test: fix some unreachable code warnings (#3851) 2022-12-10 19:36:46 +01:00
runner-unix.c unix: skip prohibited syscalls on tvOS and watchOS (#4043) 2023-06-23 11:09:53 +02:00
runner-unix.h Add copyright headers, license file. 2011-04-18 11:11:30 -07:00
runner-win.c test: simplify platform_init() 2020-03-27 23:51:32 +01:00
runner-win.h warnings: fix code that emits compiler warnings 2018-11-29 11:21:44 -05:00
runner.c test: don't use static buffer for formatting (#3953) 2023-04-14 16:54:28 +02:00
runner.h test: simplify platform_init() 2020-03-27 23:51:32 +01:00
task.h test: add ASSERT_OK (#3957) 2023-04-24 15:29:14 -06:00
test-active.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-async-null-cb.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-async.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-barrier.c barrier: wait for prior out before next in (#3905) 2023-03-06 17:57:25 -05:00
test-callback-stack.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-close-fd.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-close-order.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-condvar.c test: remove timing-sensitive check (#3899) 2023-02-07 11:15:59 -05:00
test-connect-unspecified.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-connection-fail.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-cwd-and-chdir.c test: canonicalize argv[0] in exepath test 2020-03-27 23:51:22 +01:00
test-default-loop-close.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-delayed-accept.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-dlerror.c test: fix musl libc.a dlerror() test expectation (#3735) 2022-09-07 11:21:24 -04:00
test-eintr-handling.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-embed.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-emfile.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-env-vars.c test: fix -Wunused-but-set-variable warnings (#3829) 2022-11-26 22:30:04 +01:00
test-error.c test: move to ASSERT_NULL and ASSERT_NOT_NULL test macros 2021-02-14 10:05:46 +01:00
test-fail-always.c Benchmark runner 2011-04-19 04:47:21 +02:00
test-fork.c unix: reset signal counters after fork (#3485) 2023-09-29 12:54:35 +02:00
test-fs-copyfile.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-fs-event.c docs: fix some typos (#3984) 2023-05-12 14:12:01 -04:00
test-fs-fd-hash.c win: add UV_FS_O_FILEMAP 2019-07-16 18:20:10 +02:00
test-fs-open-flags.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-fs-poll.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-fs-readdir.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-fs.c fs: use WTF-8 on Windows (#2970) 2023-05-23 10:25:38 -04:00
test-get-currentexe.c build: add CI for OpenBSD and FreeBSD (#3548) 2023-01-21 13:52:36 +01:00
test-get-loadavg.c test: fix -Wtautological-pointer-compare warnings 2015-11-18 22:37:16 +01:00
test-get-memory.c unix,win: add uv_get_available_memory() (#3754) 2022-11-24 22:09:32 +01:00
test-get-passwd.c test,win: fix -Wunused-variable warning 2023-06-19 21:41:06 +02:00
test-getaddrinfo.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-gethostname.c build: add CI for OpenBSD and FreeBSD (#3548) 2023-01-21 13:52:36 +01:00
test-getnameinfo.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-getsockname.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-getters-setters.c test: add additional assert (#3983) 2023-05-12 14:13:23 -04:00
test-gettimeofday.c unix,win: introduce uv_timeval64_t 2019-04-11 14:08:17 -04:00
test-handle-fileno.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-homedir.c test: canonicalize argv[0] in exepath test 2020-03-27 23:51:22 +01:00
test-hrtime.c unix,win: add uv_clock_gettime() (#3971) 2023-04-27 22:13:46 +02:00
test-idle.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-idna.c test: fix some warnings when compiling tests (#3816) 2023-01-19 10:48:13 -06:00
test-ip4-addr.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-ip6-addr.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-ip-name.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-ipc-heavy-traffic-deadlock-bug.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-ipc-send-recv.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-ipc.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-list.h unix: reset signal counters after fork (#3485) 2023-09-29 12:54:35 +02:00
test-loop-alive.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-loop-close.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-loop-configure.c linux: fix epoll_pwait() sigmask size calculation 2014-12-25 14:37:02 +01:00
test-loop-handles.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-loop-stop.c src: don't run timers if loop is stopped/unref'd (#4048) 2023-06-16 11:00:06 -06:00
test-loop-time.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-metrics.c src: fix events/events_waiting metrics counter (#3957) 2023-04-24 15:29:14 -06:00
test-multiple-listen.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-mutexes.c unix,win: add uv_mutex_init_recursive() 2017-10-02 10:01:09 -04:00
test-not-readable-nor-writable-on-read-error.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-not-writable-after-shutdown.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-osx-select.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-pass-always.c Benchmark runner 2011-04-19 04:47:21 +02:00
test-ping-pong.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-pipe-bind-error.c unix,win: add UV_PIPE_NO_TRUNCATE flag (#4040) 2023-06-06 17:08:36 +02:00
test-pipe-close-stdout-read-stdin.c unix: skip prohibited syscalls on tvOS and watchOS (#4043) 2023-06-23 11:09:53 +02:00
test-pipe-connect-error.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-pipe-connect-multiple.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-pipe-connect-prepare.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-pipe-getsockname.c linux: support abstract unix sockets (#4030) 2023-06-04 22:43:14 +02:00
test-pipe-pending-instances.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-pipe-sendmsg.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-pipe-server-close.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-pipe-set-fchmod.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-pipe-set-non-blocking.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-platform-output.c misc: extend getpw to take uid as an argument (#3523) 2023-01-17 21:51:28 -06:00
test-poll-close-doesnt-corrupt-stack.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-poll-close.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-poll-closesocket.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-poll-multiple-handles.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-poll-oob.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-poll.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-process-priority.c test: handle uv_os_setpriority() windows edge case 2018-09-25 20:56:37 -04:00
test-process-title-threadsafe.c test: fix thread race in process_title_threadsafe 2020-08-06 10:18:29 +02:00
test-process-title.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-queue-foreach-delete.c unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
test-random.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-readable-on-eof.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-ref.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-run-nowait.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-run-once.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-semaphore.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-shutdown-close.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-shutdown-eof.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-shutdown-simultaneous.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-shutdown-twice.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-signal-multiple-loops.c test: disable signal test under ASan and MSan (#3961) 2023-04-19 07:40:18 +02:00
test-signal-pending-on-close.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-signal.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-socket-buffer-size.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-spawn.c win,spawn: allow %PATH% to be unset (#4116) 2023-08-14 15:25:11 -04:00
test-stdio-over-pipes.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-strscpy.c unix: harden string copying, introduce strscpy() 2018-12-04 17:08:09 +01:00
test-strtok.c core: add thread-safe strtok implementation (#3553) 2022-03-22 15:15:00 -04:00
test-tcp-alloc-cb-fail.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-bind6-error.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-bind-error.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-close-accept.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-close-after-read-timeout.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-close-reset.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-close-while-connecting.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-close.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-connect6-error.c test: skip tests when ipv6 is not available (#4151) 2023-09-26 21:55:32 +02:00
test-tcp-connect-error-after-write.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-connect-error.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-connect-timeout.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-create-socket-early.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-flags.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-oob.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-open.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-read-stop-start.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-read-stop.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-rst.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-shutdown-after-write.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-try-write-error.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-try-write.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-unexpected-read.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-write-after-connect.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-write-fail.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-write-in-a-row.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-write-queue-order.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-write-to-half-open-connection.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tcp-writealot.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-test-macros.c test: avoid double evaluation in ASSERT_BASE macro 2020-08-12 13:13:02 -04:00
test-thread-affinity.c test: fix license blurb (#4085) 2023-07-10 10:37:38 +02:00
test-thread-equal.c thread: initialize uv_thread_self for all threads (#3357) 2021-11-24 19:34:57 -05:00
test-thread.c test: remove erroneous RETURN_SKIP (#4015) 2023-05-23 00:24:39 +02:00
test-threadpool-cancel.c test: add uv_cancel test for threadpool (#4065 2/2) 2023-06-21 11:31:44 -06:00
test-threadpool.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-timer-again.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-timer-from-check.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-timer.c src: don't run timers if loop is stopped/unref'd (#4048) 2023-06-16 11:00:06 -06:00
test-tmpdir.c test: canonicalize argv[0] in exepath test 2020-03-27 23:51:22 +01:00
test-tty-duplicate-key.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-tty-escape-sequence-processing.c docs: fix some typos (#3984) 2023-05-12 14:12:01 -04:00
test-tty.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-alloc-cb-fail.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-bind.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-connect6.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-connect.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-create-socket-early.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-dgram-too-big.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-ipv6.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-mmsg.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-multicast-interface6.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-multicast-interface.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-multicast-join6.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-multicast-join.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-multicast-ttl.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-open.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-options.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-recv-in-a-row.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-send-and-recv.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-send-hang-loop.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-send-immediate.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-send-unreachable.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-sendmmsg-error.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-udp-try-send.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-uname.c unix,win: add uv_os_uname() 2019-01-14 10:47:20 -05:00
test-walk-handles.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00
test-watcher-cross-stop.c test: silence more valgrind warnings (#3917) 2023-03-12 14:59:00 +01:00