forked from cory/tildefriends
libuv 1.42.0.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3650 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
47
deps/libuv/test/test-list.h
vendored
47
deps/libuv/test/test-list.h
vendored
@ -116,7 +116,8 @@ TEST_DECLARE (tcp_open_bound)
|
||||
TEST_DECLARE (tcp_open_connected)
|
||||
TEST_DECLARE (tcp_connect_error_after_write)
|
||||
TEST_DECLARE (tcp_shutdown_after_write)
|
||||
TEST_DECLARE (tcp_bind_error_addrinuse)
|
||||
TEST_DECLARE (tcp_bind_error_addrinuse_connect)
|
||||
TEST_DECLARE (tcp_bind_error_addrinuse_listen)
|
||||
TEST_DECLARE (tcp_bind_error_addrnotavail_1)
|
||||
TEST_DECLARE (tcp_bind_error_addrnotavail_2)
|
||||
TEST_DECLARE (tcp_bind_error_fault)
|
||||
@ -205,6 +206,7 @@ TEST_DECLARE (connection_fail_doesnt_auto_close)
|
||||
TEST_DECLARE (shutdown_close_tcp)
|
||||
TEST_DECLARE (shutdown_close_pipe)
|
||||
TEST_DECLARE (shutdown_eof)
|
||||
TEST_DECLARE (shutdown_simultaneous)
|
||||
TEST_DECLARE (shutdown_twice)
|
||||
TEST_DECLARE (callback_stack)
|
||||
TEST_DECLARE (env_vars)
|
||||
@ -359,6 +361,7 @@ TEST_DECLARE (fs_open_flags)
|
||||
TEST_DECLARE (fs_fd_hash)
|
||||
#endif
|
||||
TEST_DECLARE (fs_utime)
|
||||
TEST_DECLARE (fs_utime_round)
|
||||
TEST_DECLARE (fs_futime)
|
||||
TEST_DECLARE (fs_lutime)
|
||||
TEST_DECLARE (fs_file_open_append)
|
||||
@ -451,12 +454,16 @@ TEST_DECLARE (poll_nested_epoll)
|
||||
#ifdef UV_HAVE_KQUEUE
|
||||
TEST_DECLARE (poll_nested_kqueue)
|
||||
#endif
|
||||
TEST_DECLARE (poll_multiple_handles)
|
||||
|
||||
TEST_DECLARE (ip4_addr)
|
||||
TEST_DECLARE (ip6_addr_link_local)
|
||||
|
||||
TEST_DECLARE (poll_close_doesnt_corrupt_stack)
|
||||
TEST_DECLARE (poll_closesocket)
|
||||
TEST_DECLARE (close_fd)
|
||||
TEST_DECLARE (closed_fd_events)
|
||||
TEST_DECLARE (spawn_fs_open)
|
||||
#ifdef _WIN32
|
||||
TEST_DECLARE (spawn_detect_pipe_name_collisions_on_windows)
|
||||
#if !defined(USING_UV_SHARED)
|
||||
@ -471,8 +478,6 @@ TEST_DECLARE (ipc_listen_after_bind_twice)
|
||||
TEST_DECLARE (win32_signum_number)
|
||||
#else
|
||||
TEST_DECLARE (emfile)
|
||||
TEST_DECLARE (close_fd)
|
||||
TEST_DECLARE (spawn_fs_open)
|
||||
TEST_DECLARE (spawn_setuid_setgid)
|
||||
TEST_DECLARE (we_get_signal)
|
||||
TEST_DECLARE (we_get_signals)
|
||||
@ -481,7 +486,6 @@ TEST_DECLARE (we_get_signals_mixed)
|
||||
TEST_DECLARE (signal_multiple_loops)
|
||||
TEST_DECLARE (signal_pending_on_close)
|
||||
TEST_DECLARE (signal_close_loop_alive)
|
||||
TEST_DECLARE (closed_fd_events)
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
TEST_DECLARE (osx_select)
|
||||
@ -501,6 +505,10 @@ TEST_DECLARE (handle_type_name)
|
||||
TEST_DECLARE (req_type_name)
|
||||
TEST_DECLARE (getters_setters)
|
||||
|
||||
TEST_DECLARE (not_writable_after_shutdown)
|
||||
TEST_DECLARE (not_readable_nor_writable_on_read_error)
|
||||
TEST_DECLARE (not_readable_on_eof)
|
||||
|
||||
#ifndef _WIN32
|
||||
TEST_DECLARE (fork_timer)
|
||||
TEST_DECLARE (fork_socketpair)
|
||||
@ -521,6 +529,7 @@ TEST_DECLARE (fork_threadpool_queue_work_simple)
|
||||
|
||||
TEST_DECLARE (idna_toascii)
|
||||
TEST_DECLARE (utf8_decode1)
|
||||
TEST_DECLARE (utf8_decode1_overrun)
|
||||
TEST_DECLARE (uname)
|
||||
|
||||
TEST_DECLARE (metrics_idle_time)
|
||||
@ -567,7 +576,8 @@ TASK_LIST_START
|
||||
#ifndef _WIN32
|
||||
TEST_ENTRY (pipe_close_stdout_read_stdin)
|
||||
#endif
|
||||
TEST_ENTRY (pipe_set_non_blocking)
|
||||
/* Seems to be either about 0.5s or 5s, depending on the OS. */
|
||||
TEST_ENTRY_CUSTOM (pipe_set_non_blocking, 0, 0, 20000)
|
||||
TEST_ENTRY (pipe_set_chmod)
|
||||
TEST_ENTRY (tty)
|
||||
#ifdef _WIN32
|
||||
@ -671,7 +681,13 @@ TASK_LIST_START
|
||||
TEST_HELPER (tcp_shutdown_after_write, tcp4_echo_server)
|
||||
|
||||
TEST_ENTRY (tcp_connect_error_after_write)
|
||||
TEST_ENTRY (tcp_bind_error_addrinuse)
|
||||
TEST_ENTRY (tcp_bind_error_addrinuse_connect)
|
||||
/* tcp4_echo_server steals the port. It needs to be a separate process
|
||||
* because libuv sets setsockopt(SO_REUSEADDR) that lets you steal an
|
||||
* existing bind if it originates from the same process.
|
||||
*/
|
||||
TEST_HELPER (tcp_bind_error_addrinuse_connect, tcp4_echo_server)
|
||||
TEST_ENTRY (tcp_bind_error_addrinuse_listen)
|
||||
TEST_ENTRY (tcp_bind_error_addrnotavail_1)
|
||||
TEST_ENTRY (tcp_bind_error_addrnotavail_2)
|
||||
TEST_ENTRY (tcp_bind_error_fault)
|
||||
@ -769,6 +785,9 @@ TASK_LIST_START
|
||||
TEST_ENTRY (shutdown_eof)
|
||||
TEST_HELPER (shutdown_eof, tcp4_echo_server)
|
||||
|
||||
TEST_ENTRY (shutdown_simultaneous)
|
||||
TEST_HELPER (shutdown_simultaneous, tcp4_echo_server)
|
||||
|
||||
TEST_ENTRY (shutdown_twice)
|
||||
TEST_HELPER (shutdown_twice, tcp4_echo_server)
|
||||
|
||||
@ -894,6 +913,7 @@ TASK_LIST_START
|
||||
#ifdef UV_HAVE_KQUEUE
|
||||
TEST_ENTRY (poll_nested_kqueue)
|
||||
#endif
|
||||
TEST_ENTRY (poll_multiple_handles)
|
||||
|
||||
TEST_ENTRY (socket_buffer_size)
|
||||
|
||||
@ -935,6 +955,9 @@ TASK_LIST_START
|
||||
|
||||
TEST_ENTRY (poll_close_doesnt_corrupt_stack)
|
||||
TEST_ENTRY (poll_closesocket)
|
||||
TEST_ENTRY (close_fd)
|
||||
TEST_ENTRY (closed_fd_events)
|
||||
TEST_ENTRY (spawn_fs_open)
|
||||
#ifdef _WIN32
|
||||
TEST_ENTRY (spawn_detect_pipe_name_collisions_on_windows)
|
||||
#if !defined(USING_UV_SHARED)
|
||||
@ -949,8 +972,6 @@ TASK_LIST_START
|
||||
TEST_ENTRY (win32_signum_number)
|
||||
#else
|
||||
TEST_ENTRY (emfile)
|
||||
TEST_ENTRY (close_fd)
|
||||
TEST_ENTRY (spawn_fs_open)
|
||||
TEST_ENTRY (spawn_setuid_setgid)
|
||||
TEST_ENTRY (we_get_signal)
|
||||
TEST_ENTRY (we_get_signals)
|
||||
@ -959,7 +980,6 @@ TASK_LIST_START
|
||||
TEST_ENTRY (signal_multiple_loops)
|
||||
TEST_ENTRY (signal_pending_on_close)
|
||||
TEST_ENTRY (signal_close_loop_alive)
|
||||
TEST_ENTRY (closed_fd_events)
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
@ -988,6 +1008,7 @@ TASK_LIST_START
|
||||
#endif
|
||||
TEST_ENTRY (fs_chown)
|
||||
TEST_ENTRY (fs_utime)
|
||||
TEST_ENTRY (fs_utime_round)
|
||||
TEST_ENTRY (fs_futime)
|
||||
TEST_ENTRY (fs_lutime)
|
||||
TEST_ENTRY (fs_readlink)
|
||||
@ -1108,6 +1129,7 @@ TASK_LIST_START
|
||||
#endif
|
||||
|
||||
TEST_ENTRY (utf8_decode1)
|
||||
TEST_ENTRY (utf8_decode1_overrun)
|
||||
TEST_ENTRY (uname)
|
||||
|
||||
/* Doesn't work on z/OS because that platform uses EBCDIC, not ASCII. */
|
||||
@ -1115,6 +1137,13 @@ TASK_LIST_START
|
||||
TEST_ENTRY (idna_toascii)
|
||||
#endif
|
||||
|
||||
TEST_ENTRY (not_writable_after_shutdown)
|
||||
TEST_HELPER (not_writable_after_shutdown, tcp4_echo_server)
|
||||
TEST_ENTRY (not_readable_nor_writable_on_read_error)
|
||||
TEST_HELPER (not_readable_nor_writable_on_read_error, tcp4_echo_server)
|
||||
TEST_ENTRY (not_readable_on_eof)
|
||||
TEST_HELPER (not_readable_on_eof, tcp4_echo_server)
|
||||
|
||||
TEST_ENTRY (metrics_idle_time)
|
||||
TEST_ENTRY (metrics_idle_time_thread)
|
||||
TEST_ENTRY (metrics_idle_time_zero)
|
||||
|
Reference in New Issue
Block a user