libuv/test
Geoffry Song 780d8ad8e5 linux: always deregister closing fds from epoll
If the same file description is open in two different processes, then
closing the file descriptor is not sufficient to deregister it from the
epoll instance (as described in epoll(7)), resulting in spurious events
that cause the event loop to spin repeatedly. So always explicitly
deregister it.

Fixes #1099.
2014-02-19 17:13:49 +04:00
..
fixtures win, unix: add uv_dlerror() and uv_dlerror_free() 2012-03-02 16:39:21 +01:00
benchmark-async-pummel.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
benchmark-async.c test: wrap long lines at 80 columns 2013-09-11 17:29:43 +02:00
benchmark-fs-stat.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
benchmark-getaddrinfo.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
benchmark-list.h bench: add 'million async handles' benchmark 2012-12-24 12:19:10 +01:00
benchmark-loop-count.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
benchmark-million-async.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
benchmark-million-timers.c bench: measure total/init/dispatch/cleanup times 2013-09-13 00:17:52 +02:00
benchmark-multi-accept.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
benchmark-ping-pongs.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
benchmark-pound.c test: wrap long lines at 80 columns 2013-09-11 17:29:43 +02:00
benchmark-pump.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
benchmark-sizes.c test: add uv_fs_poll_t to benchmark-sizes.c 2012-08-20 16:31:54 +02:00
benchmark-spawn.c include: uv_spawn takes const uv_process_options_t* 2013-09-01 08:25:00 +02:00
benchmark-tcp-write-batch.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02: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: wrap long lines at 80 columns 2013-09-11 17:29:43 +02:00
blackhole-server.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
dns-server.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
echo-server.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
run-benchmarks.c test: support flexibly setting custom task options 2014-02-01 00:50:40 +04:00
run-tests.c fs: uv__cloexec() opened fd 2014-02-01 01:02:37 +04:00
runner-unix.c test: replace strcpy() with strncpy() 2013-08-05 02:45:40 +02:00
runner-unix.h Add copyright headers, license file. 2011-04-18 11:11:30 -07:00
runner-win.c test: wrap long lines at 80 columns 2013-09-11 17:29:43 +02:00
runner-win.h test: fix windows #include bug 2012-10-03 00:58:04 +02:00
runner.c test: support flexibly setting custom task options 2014-02-01 00:50:40 +04:00
runner.h test: support flexibly setting custom task options 2014-02-01 00:50:40 +04:00
task.h test: test fsevents error reporting 2013-11-13 18:18:56 +04:00
test-active.c unix, windows: make uv_is_*() always return 0 or 1 2013-09-12 13:30:06 +02:00
test-async-null-cb.c unix, windows: allow NULL async callback 2013-08-12 08:55:51 +02:00
test-async.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
test-barrier.c unix, windows: add thread barrier support 2012-10-09 17:30:52 +02:00
test-callback-order.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
test-callback-stack.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-close-fd.c linux: handle EPOLLHUP without EPOLLIN/EPOLLOUT 2013-11-08 05:16:55 +01:00
test-close-order.c windows: run close callbacks after polling for i/o 2013-09-06 06:28:42 +02:00
test-condvar.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-connection-fail.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-cwd-and-chdir.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-delayed-accept.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-dlerror.c unix, win: rework uv_dlopen() API 2012-05-03 19:36:40 +02:00
test-embed.c test: fix epoll_wait() usage in test-embed.c 2013-08-31 22:09:53 +02:00
test-emfile.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-error.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-fail-always.c Benchmark runner 2011-04-19 04:47:21 +02:00
test-fs-event.c Revert "fs: vectored IO API for filesystem read/write" 2014-02-18 21:48:13 +04:00
test-fs-poll.c unix, windows: make uv_is_*() always return 0 or 1 2013-09-12 13:30:06 +02:00
test-fs.c Revert "fs: vectored IO API for filesystem read/write" 2014-02-18 21:48:13 +04:00
test-get-currentexe.c test: wrap long lines at 80 columns 2013-09-11 17:29:43 +02:00
test-get-loadavg.c os: implement loadavg (not working on cygwin/win) 2011-10-04 18:15:14 +02:00
test-get-memory.c Tests: don't use %zu placeholder in printf statements 2012-04-11 22:54:02 +02:00
test-getaddrinfo.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-getsockname.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-hrtime.c test: allow 80 ms intervals in hrtime test 2012-07-03 22:33:10 +02:00
test-idle.c test: reflect new idle semantics in test 2013-05-29 22:52:06 +02:00
test-ip4-addr.c test: remove C++ style comment 2013-12-13 22:37:14 +04:00
test-ip6-addr.c include: uv_ip[46]_addr now takes sockaddr_in* 2013-09-01 08:02:07 +02:00
test-ipc-send-recv.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-ipc.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-list.h linux: always deregister closing fds from epoll 2014-02-19 17:13:49 +04:00
test-loop-alive.c unix, windows: add uv_loop_alive() function 2013-12-19 15:35:03 -08:00
test-loop-handles.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
test-loop-stop.c test: relax timing assumption of loop_stop 2013-10-08 16:26:04 +02:00
test-loop-time.c unix, windows: always update loop time 2013-12-10 09:13:34 +01:00
test-multiple-listen.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-mutexes.c Wrap platform mutex and rwlock APIs. 2011-11-18 12:42:08 +01:00
test-osx-select.c include: uv_read{2}_cb now takes const uv_buf_t* 2013-09-01 08:01:34 +02:00
test-pass-always.c Benchmark runner 2011-04-19 04:47:21 +02:00
test-ping-pong.c unix, windows: make uv_is_*() always return 0 or 1 2013-09-12 13:30:06 +02:00
test-pipe-bind-error.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-pipe-connect-error.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-pipe-server-close.c test: make test-pipe-server-close pass on linux 2013-12-21 02:34:44 -08:00
test-platform-output.c unix, windows: add MAC to uv_interface_addresses() 2013-07-25 13:49:39 +02:00
test-poll-close.c code style: strip trailing whitespace 2013-12-20 19:38:37 -08:00
test-poll.c unix, windows: make uv_is_*() always return 0 or 1 2013-09-12 13:30:06 +02:00
test-process-title.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-ref.c unix, windows: add uv_fs_event_start/stop functions 2013-10-12 20:37:05 +02:00
test-run-nowait.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
test-run-once.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
test-semaphore.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-shutdown-close.c unix, windows: make uv_is_*() always return 0 or 1 2013-09-12 13:30:06 +02:00
test-shutdown-eof.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-shutdown-twice.c unix: correct error when calling uv_shutdown twice 2014-02-15 16:37:58 +01:00
test-signal-multiple-loops.c test: clean up signal_multiple_loops 2013-10-20 13:57:16 +02:00
test-signal.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
test-spawn.c linux: always deregister closing fds from epoll 2014-02-19 17:13:49 +04:00
test-stdio-over-pipes.c unix: sanity-check fds before closing 2013-10-01 03:55:54 +02:00
test-tcp-bind6-error.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-tcp-bind-error.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-tcp-close-accept.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-tcp-close-while-connecting.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-tcp-close.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-tcp-connect6-error.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-tcp-connect-error-after-write.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-tcp-connect-error.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-tcp-connect-timeout.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-tcp-flags.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
test-tcp-open.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-tcp-read-stop.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-tcp-shutdown-after-write.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-tcp-try-write.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-tcp-unexpected-read.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-tcp-write-to-half-open-connection.c tcp: uv_tcp_dualstack() 2014-01-19 23:07:42 +00:00
test-tcp-writealot.c include: merge uv_tcp_connect and uv_tcp_connect6 2013-09-04 03:16:36 +02:00
test-thread.c unix, windows: add thread-local storage API 2013-08-25 15:51:07 +02:00
test-threadpool-cancel.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-threadpool.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
test-timer-again.c test: relax timing assumption of timer_again 2013-10-08 16:26:04 +02:00
test-timer-from-check.c test: add 'start timer from check handle' test 2013-06-26 13:56:32 +02:00
test-timer.c unix, windows: make uv_is_*() always return 0 or 1 2013-09-12 13:30:06 +02:00
test-tty.c test: relax TTY availability assumptions 2013-10-08 16:26:04 +02:00
test-udp-dgram-too-big.c include: merge uv_udp_send and uv_udp_send6 2013-09-04 03:17:29 +02:00
test-udp-ipv6.c include: merge uv_udp_send and uv_udp_send6 2013-09-04 03:17:29 +02:00
test-udp-multicast-interface.c test: fix udp multicast interface test 2014-02-10 08:56:39 +01:00
test-udp-multicast-join.c include: merge uv_udp_send and uv_udp_send6 2013-09-04 03:17:29 +02:00
test-udp-multicast-ttl.c include: merge uv_udp_send and uv_udp_send6 2013-09-04 03:17:29 +02:00
test-udp-open.c include: merge uv_udp_send and uv_udp_send6 2013-09-04 03:17:29 +02:00
test-udp-options.c include: merge uv_udp_bind and uv_udp_bind6 2013-09-04 03:17:04 +02:00
test-udp-send-and-recv.c unix, windows: make uv_is_*() always return 0 or 1 2013-09-12 13:30:06 +02:00
test-walk-handles.c unix, windows: rename uv_run2 to uv_run 2013-01-16 23:35:29 +01:00
test-watcher-cross-stop.c test: test fsevents error reporting 2013-11-13 18:18:56 +04:00