2021-01-02 13:10:00 -05:00
|
|
|
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
|
|
*
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
* of this software and associated documentation files (the "Software"), to
|
|
|
|
* deal in the Software without restriction, including without limitation the
|
|
|
|
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
|
* sell copies of the Software, and to permit persons to whom the Software is
|
|
|
|
* furnished to do so, subject to the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
|
* all copies or substantial portions of the Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
|
* IN THE SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "uv.h"
|
|
|
|
|
|
|
|
TEST_DECLARE (platform_output)
|
|
|
|
TEST_DECLARE (close_order)
|
|
|
|
TEST_DECLARE (run_once)
|
|
|
|
TEST_DECLARE (run_nowait)
|
|
|
|
TEST_DECLARE (loop_alive)
|
|
|
|
TEST_DECLARE (loop_close)
|
|
|
|
TEST_DECLARE (loop_instant_close)
|
|
|
|
TEST_DECLARE (loop_stop)
|
|
|
|
TEST_DECLARE (loop_update_time)
|
|
|
|
TEST_DECLARE (loop_backend_timeout)
|
|
|
|
TEST_DECLARE (loop_configure)
|
|
|
|
TEST_DECLARE (default_loop_close)
|
|
|
|
TEST_DECLARE (barrier_1)
|
|
|
|
TEST_DECLARE (barrier_2)
|
|
|
|
TEST_DECLARE (barrier_3)
|
|
|
|
TEST_DECLARE (barrier_serial_thread)
|
|
|
|
TEST_DECLARE (barrier_serial_thread_single)
|
|
|
|
TEST_DECLARE (condvar_1)
|
|
|
|
TEST_DECLARE (condvar_2)
|
|
|
|
TEST_DECLARE (condvar_3)
|
|
|
|
TEST_DECLARE (condvar_4)
|
|
|
|
TEST_DECLARE (condvar_5)
|
|
|
|
TEST_DECLARE (semaphore_1)
|
|
|
|
TEST_DECLARE (semaphore_2)
|
|
|
|
TEST_DECLARE (semaphore_3)
|
|
|
|
TEST_DECLARE (tty)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_DECLARE (tty_raw)
|
|
|
|
TEST_DECLARE (tty_empty_write)
|
|
|
|
TEST_DECLARE (tty_large_write)
|
|
|
|
TEST_DECLARE (tty_raw_cancel)
|
|
|
|
TEST_DECLARE (tty_duplicate_vt100_fn_key)
|
|
|
|
TEST_DECLARE (tty_duplicate_alt_modifier_key)
|
|
|
|
TEST_DECLARE (tty_composing_character)
|
|
|
|
TEST_DECLARE (tty_cursor_up)
|
|
|
|
TEST_DECLARE (tty_cursor_down)
|
|
|
|
TEST_DECLARE (tty_cursor_forward)
|
|
|
|
TEST_DECLARE (tty_cursor_back)
|
|
|
|
TEST_DECLARE (tty_cursor_next_line)
|
|
|
|
TEST_DECLARE (tty_cursor_previous_line)
|
|
|
|
TEST_DECLARE (tty_cursor_horizontal_move_absolute)
|
|
|
|
TEST_DECLARE (tty_cursor_move_absolute)
|
|
|
|
TEST_DECLARE (tty_hide_show_cursor)
|
|
|
|
TEST_DECLARE (tty_set_cursor_shape)
|
|
|
|
TEST_DECLARE (tty_erase)
|
|
|
|
TEST_DECLARE (tty_erase_line)
|
|
|
|
TEST_DECLARE (tty_set_style)
|
|
|
|
TEST_DECLARE (tty_save_restore_cursor_position)
|
|
|
|
TEST_DECLARE (tty_full_reset)
|
|
|
|
TEST_DECLARE (tty_escape_sequence_processing)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (tty_file)
|
|
|
|
TEST_DECLARE (tty_pty)
|
|
|
|
TEST_DECLARE (stdio_over_pipes)
|
|
|
|
TEST_DECLARE (stdio_emulate_iocp)
|
|
|
|
TEST_DECLARE (ip6_pton)
|
2022-01-04 21:04:05 -05:00
|
|
|
TEST_DECLARE (ip6_sin6_len)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (connect_unspecified)
|
|
|
|
TEST_DECLARE (ipc_heavy_traffic_deadlock_bug)
|
|
|
|
TEST_DECLARE (ipc_listen_before_write)
|
|
|
|
TEST_DECLARE (ipc_listen_after_write)
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_DECLARE (ipc_send_recv_pipe)
|
|
|
|
TEST_DECLARE (ipc_send_recv_pipe_inprocess)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (ipc_send_recv_tcp)
|
|
|
|
TEST_DECLARE (ipc_send_recv_tcp_inprocess)
|
|
|
|
TEST_DECLARE (ipc_tcp_connection)
|
|
|
|
TEST_DECLARE (ipc_send_zero)
|
|
|
|
TEST_DECLARE (tcp_alloc_cb_fail)
|
|
|
|
TEST_DECLARE (tcp_ping_pong)
|
|
|
|
TEST_DECLARE (tcp_ping_pong_vec)
|
|
|
|
TEST_DECLARE (tcp6_ping_pong)
|
|
|
|
TEST_DECLARE (tcp6_ping_pong_vec)
|
|
|
|
TEST_DECLARE (pipe_ping_pong)
|
|
|
|
TEST_DECLARE (pipe_ping_pong_vec)
|
|
|
|
TEST_DECLARE (delayed_accept)
|
|
|
|
TEST_DECLARE (multiple_listen)
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_DECLARE (tcp_write_after_connect)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (tcp_writealot)
|
|
|
|
TEST_DECLARE (tcp_write_fail)
|
|
|
|
TEST_DECLARE (tcp_try_write)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (tcp_write_in_a_row)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (tcp_try_write_error)
|
|
|
|
TEST_DECLARE (tcp_write_queue_order)
|
|
|
|
TEST_DECLARE (tcp_open)
|
|
|
|
TEST_DECLARE (tcp_open_twice)
|
|
|
|
TEST_DECLARE (tcp_open_bound)
|
|
|
|
TEST_DECLARE (tcp_open_connected)
|
|
|
|
TEST_DECLARE (tcp_connect_error_after_write)
|
|
|
|
TEST_DECLARE (tcp_shutdown_after_write)
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_DECLARE (tcp_bind_error_addrinuse_connect)
|
|
|
|
TEST_DECLARE (tcp_bind_error_addrinuse_listen)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (tcp_bind_error_addrnotavail_1)
|
|
|
|
TEST_DECLARE (tcp_bind_error_addrnotavail_2)
|
|
|
|
TEST_DECLARE (tcp_bind_error_fault)
|
|
|
|
TEST_DECLARE (tcp_bind_error_inval)
|
|
|
|
TEST_DECLARE (tcp_bind_localhost_ok)
|
|
|
|
TEST_DECLARE (tcp_bind_invalid_flags)
|
|
|
|
TEST_DECLARE (tcp_bind_writable_flags)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_DECLARE (tcp_bind_or_listen_error_after_close)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (tcp_listen_without_bind)
|
|
|
|
TEST_DECLARE (tcp_connect_error_fault)
|
|
|
|
TEST_DECLARE (tcp_connect_timeout)
|
|
|
|
TEST_DECLARE (tcp_local_connect_timeout)
|
|
|
|
TEST_DECLARE (tcp6_local_connect_timeout)
|
|
|
|
TEST_DECLARE (tcp_close_while_connecting)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_DECLARE (tcp_close_after_read_timeout)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (tcp_close)
|
|
|
|
TEST_DECLARE (tcp_close_reset_accepted)
|
|
|
|
TEST_DECLARE (tcp_close_reset_accepted_after_shutdown)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_DECLARE (tcp_close_reset_accepted_after_socket_shutdown)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (tcp_close_reset_client)
|
|
|
|
TEST_DECLARE (tcp_close_reset_client_after_shutdown)
|
|
|
|
TEST_DECLARE (tcp_create_early)
|
|
|
|
TEST_DECLARE (tcp_create_early_bad_bind)
|
|
|
|
TEST_DECLARE (tcp_create_early_bad_domain)
|
|
|
|
TEST_DECLARE (tcp_create_early_accept)
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_DECLARE (tcp_close_accept)
|
|
|
|
TEST_DECLARE (tcp_oob)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (tcp_flags)
|
|
|
|
TEST_DECLARE (tcp_write_to_half_open_connection)
|
|
|
|
TEST_DECLARE (tcp_unexpected_read)
|
|
|
|
TEST_DECLARE (tcp_read_stop)
|
|
|
|
TEST_DECLARE (tcp_read_stop_start)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_DECLARE (tcp_rst)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (tcp_bind6_error_addrinuse)
|
|
|
|
TEST_DECLARE (tcp_bind6_error_addrnotavail)
|
|
|
|
TEST_DECLARE (tcp_bind6_error_fault)
|
|
|
|
TEST_DECLARE (tcp_bind6_error_inval)
|
|
|
|
TEST_DECLARE (tcp_bind6_localhost_ok)
|
|
|
|
TEST_DECLARE (tcp_write_ready)
|
|
|
|
TEST_DECLARE (udp_alloc_cb_fail)
|
|
|
|
TEST_DECLARE (udp_bind)
|
|
|
|
TEST_DECLARE (udp_bind_reuseaddr)
|
|
|
|
TEST_DECLARE (udp_connect)
|
2022-01-04 21:04:05 -05:00
|
|
|
TEST_DECLARE (udp_connect6)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (udp_create_early)
|
|
|
|
TEST_DECLARE (udp_create_early_bad_bind)
|
|
|
|
TEST_DECLARE (udp_create_early_bad_domain)
|
|
|
|
TEST_DECLARE (udp_send_and_recv)
|
|
|
|
TEST_DECLARE (udp_send_hang_loop)
|
|
|
|
TEST_DECLARE (udp_send_immediate)
|
|
|
|
TEST_DECLARE (udp_send_unreachable)
|
|
|
|
TEST_DECLARE (udp_mmsg)
|
|
|
|
TEST_DECLARE (udp_multicast_join)
|
|
|
|
TEST_DECLARE (udp_multicast_join6)
|
|
|
|
TEST_DECLARE (udp_multicast_ttl)
|
|
|
|
TEST_DECLARE (udp_multicast_interface)
|
|
|
|
TEST_DECLARE (udp_multicast_interface6)
|
|
|
|
TEST_DECLARE (udp_dgram_too_big)
|
|
|
|
TEST_DECLARE (udp_dual_stack)
|
|
|
|
TEST_DECLARE (udp_ipv6_only)
|
|
|
|
TEST_DECLARE (udp_options)
|
|
|
|
TEST_DECLARE (udp_options6)
|
|
|
|
TEST_DECLARE (udp_no_autobind)
|
|
|
|
TEST_DECLARE (udp_open)
|
|
|
|
TEST_DECLARE (udp_open_twice)
|
|
|
|
TEST_DECLARE (udp_open_bound)
|
|
|
|
TEST_DECLARE (udp_open_connect)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (udp_recv_in_a_row)
|
2021-01-02 13:10:00 -05:00
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_DECLARE (udp_send_unix)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (udp_sendmmsg_error)
|
|
|
|
TEST_DECLARE (udp_try_send)
|
|
|
|
TEST_DECLARE (pipe_bind_error_addrinuse)
|
|
|
|
TEST_DECLARE (pipe_bind_error_addrnotavail)
|
|
|
|
TEST_DECLARE (pipe_bind_error_inval)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (pipe_connect_close_multiple)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (pipe_connect_multiple)
|
|
|
|
TEST_DECLARE (pipe_listen_without_bind)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_DECLARE (pipe_bind_or_listen_error_after_close)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (pipe_connect_bad_name)
|
|
|
|
TEST_DECLARE (pipe_connect_to_file)
|
|
|
|
TEST_DECLARE (pipe_connect_on_prepare)
|
|
|
|
TEST_DECLARE (pipe_getsockname)
|
|
|
|
TEST_DECLARE (pipe_getsockname_abstract)
|
|
|
|
TEST_DECLARE (pipe_getsockname_blocking)
|
|
|
|
TEST_DECLARE (pipe_pending_instances)
|
|
|
|
TEST_DECLARE (pipe_sendmsg)
|
|
|
|
TEST_DECLARE (pipe_server_close)
|
|
|
|
TEST_DECLARE (connection_fail)
|
|
|
|
TEST_DECLARE (connection_fail_doesnt_auto_close)
|
|
|
|
TEST_DECLARE (shutdown_close_tcp)
|
|
|
|
TEST_DECLARE (shutdown_close_pipe)
|
|
|
|
TEST_DECLARE (shutdown_eof)
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_DECLARE (shutdown_simultaneous)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (shutdown_twice)
|
|
|
|
TEST_DECLARE (callback_stack)
|
|
|
|
TEST_DECLARE (env_vars)
|
|
|
|
TEST_DECLARE (error_message)
|
|
|
|
TEST_DECLARE (sys_error)
|
|
|
|
TEST_DECLARE (timer)
|
|
|
|
TEST_DECLARE (timer_init)
|
|
|
|
TEST_DECLARE (timer_again)
|
|
|
|
TEST_DECLARE (timer_start_twice)
|
|
|
|
TEST_DECLARE (timer_order)
|
|
|
|
TEST_DECLARE (timer_huge_timeout)
|
|
|
|
TEST_DECLARE (timer_huge_repeat)
|
|
|
|
TEST_DECLARE (timer_run_once)
|
|
|
|
TEST_DECLARE (timer_from_check)
|
|
|
|
TEST_DECLARE (timer_is_closing)
|
|
|
|
TEST_DECLARE (timer_null_callback)
|
|
|
|
TEST_DECLARE (timer_early_check)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (timer_no_double_call_once)
|
|
|
|
TEST_DECLARE (timer_no_double_call_nowait)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (idle_starvation)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_DECLARE (idle_check)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (loop_handles)
|
|
|
|
TEST_DECLARE (get_loadavg)
|
|
|
|
TEST_DECLARE (walk_handles)
|
|
|
|
TEST_DECLARE (watcher_cross_stop)
|
|
|
|
TEST_DECLARE (ref)
|
|
|
|
TEST_DECLARE (idle_ref)
|
|
|
|
TEST_DECLARE (async_ref)
|
|
|
|
TEST_DECLARE (prepare_ref)
|
|
|
|
TEST_DECLARE (check_ref)
|
|
|
|
TEST_DECLARE (unref_in_prepare_cb)
|
|
|
|
TEST_DECLARE (timer_ref)
|
|
|
|
TEST_DECLARE (timer_ref2)
|
|
|
|
TEST_DECLARE (fs_event_ref)
|
|
|
|
TEST_DECLARE (fs_poll_ref)
|
|
|
|
TEST_DECLARE (tcp_ref)
|
|
|
|
TEST_DECLARE (tcp_ref2)
|
|
|
|
TEST_DECLARE (tcp_ref2b)
|
|
|
|
TEST_DECLARE (tcp_ref3)
|
|
|
|
TEST_DECLARE (tcp_ref4)
|
|
|
|
TEST_DECLARE (udp_ref)
|
|
|
|
TEST_DECLARE (udp_ref2)
|
|
|
|
TEST_DECLARE (udp_ref3)
|
|
|
|
TEST_DECLARE (pipe_ref)
|
|
|
|
TEST_DECLARE (pipe_ref2)
|
|
|
|
TEST_DECLARE (pipe_ref3)
|
|
|
|
TEST_DECLARE (pipe_ref4)
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_DECLARE (pipe_close_stdout_read_stdin)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (pipe_set_non_blocking)
|
|
|
|
TEST_DECLARE (pipe_set_chmod)
|
|
|
|
TEST_DECLARE (process_ref)
|
|
|
|
TEST_DECLARE (process_priority)
|
|
|
|
TEST_DECLARE (has_ref)
|
|
|
|
TEST_DECLARE (active)
|
|
|
|
TEST_DECLARE (embed)
|
|
|
|
TEST_DECLARE (async)
|
|
|
|
TEST_DECLARE (async_null_cb)
|
|
|
|
TEST_DECLARE (eintr_handling)
|
|
|
|
TEST_DECLARE (get_currentexe)
|
|
|
|
TEST_DECLARE (process_title)
|
|
|
|
TEST_DECLARE (process_title_big_argv)
|
|
|
|
TEST_DECLARE (process_title_threadsafe)
|
|
|
|
TEST_DECLARE (cwd_and_chdir)
|
|
|
|
TEST_DECLARE (get_memory)
|
|
|
|
TEST_DECLARE (get_passwd)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (get_passwd2)
|
|
|
|
TEST_DECLARE (get_group)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (handle_fileno)
|
|
|
|
TEST_DECLARE (homedir)
|
|
|
|
TEST_DECLARE (tmpdir)
|
|
|
|
TEST_DECLARE (hrtime)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (clock_gettime)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (getaddrinfo_fail)
|
|
|
|
TEST_DECLARE (getaddrinfo_fail_sync)
|
|
|
|
TEST_DECLARE (getaddrinfo_basic)
|
|
|
|
TEST_DECLARE (getaddrinfo_basic_sync)
|
|
|
|
TEST_DECLARE (getaddrinfo_concurrent)
|
|
|
|
TEST_DECLARE (gethostname)
|
|
|
|
TEST_DECLARE (getnameinfo_basic_ip4)
|
|
|
|
TEST_DECLARE (getnameinfo_basic_ip4_sync)
|
|
|
|
TEST_DECLARE (getnameinfo_basic_ip6)
|
|
|
|
TEST_DECLARE (getsockname_tcp)
|
|
|
|
TEST_DECLARE (getsockname_udp)
|
|
|
|
TEST_DECLARE (gettimeofday)
|
|
|
|
TEST_DECLARE (test_macros)
|
|
|
|
TEST_DECLARE (fail_always)
|
|
|
|
TEST_DECLARE (pass_always)
|
|
|
|
TEST_DECLARE (socket_buffer_size)
|
|
|
|
TEST_DECLARE (spawn_fails)
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_DECLARE (spawn_fails_check_for_waitpid_cleanup)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (spawn_empty_env)
|
|
|
|
TEST_DECLARE (spawn_exit_code)
|
|
|
|
TEST_DECLARE (spawn_stdout)
|
|
|
|
TEST_DECLARE (spawn_stdin)
|
|
|
|
TEST_DECLARE (spawn_stdio_greater_than_3)
|
|
|
|
TEST_DECLARE (spawn_ignored_stdio)
|
|
|
|
TEST_DECLARE (spawn_and_kill)
|
|
|
|
TEST_DECLARE (spawn_detached)
|
|
|
|
TEST_DECLARE (spawn_and_kill_with_std)
|
|
|
|
TEST_DECLARE (spawn_and_ping)
|
|
|
|
TEST_DECLARE (spawn_preserve_env)
|
|
|
|
TEST_DECLARE (spawn_setuid_fails)
|
|
|
|
TEST_DECLARE (spawn_setgid_fails)
|
|
|
|
TEST_DECLARE (spawn_stdout_to_file)
|
|
|
|
TEST_DECLARE (spawn_stdout_and_stderr_to_file)
|
|
|
|
TEST_DECLARE (spawn_stdout_and_stderr_to_file2)
|
|
|
|
TEST_DECLARE (spawn_stdout_and_stderr_to_file_swap)
|
|
|
|
TEST_DECLARE (spawn_auto_unref)
|
|
|
|
TEST_DECLARE (spawn_closed_process_io)
|
|
|
|
TEST_DECLARE (spawn_reads_child_path)
|
|
|
|
TEST_DECLARE (spawn_inherit_streams)
|
|
|
|
TEST_DECLARE (spawn_quoted_path)
|
|
|
|
TEST_DECLARE (spawn_tcp_server)
|
2022-03-07 16:34:07 -05:00
|
|
|
TEST_DECLARE (spawn_exercise_sigchld_issue)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_DECLARE (spawn_relative_path)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (fs_poll)
|
|
|
|
TEST_DECLARE (fs_poll_getpath)
|
|
|
|
TEST_DECLARE (fs_poll_close_request)
|
|
|
|
TEST_DECLARE (fs_poll_close_request_multi_start_stop)
|
|
|
|
TEST_DECLARE (fs_poll_close_request_multi_stop_start)
|
|
|
|
TEST_DECLARE (fs_poll_close_request_stop_when_active)
|
|
|
|
TEST_DECLARE (kill)
|
|
|
|
TEST_DECLARE (kill_invalid_signum)
|
|
|
|
TEST_DECLARE (fs_file_noent)
|
|
|
|
TEST_DECLARE (fs_file_nametoolong)
|
|
|
|
TEST_DECLARE (fs_file_loop)
|
|
|
|
TEST_DECLARE (fs_file_async)
|
|
|
|
TEST_DECLARE (fs_file_sync)
|
|
|
|
TEST_DECLARE (fs_file_write_null_buffer)
|
|
|
|
TEST_DECLARE (fs_async_dir)
|
|
|
|
TEST_DECLARE (fs_async_sendfile)
|
|
|
|
TEST_DECLARE (fs_async_sendfile_nodata)
|
|
|
|
TEST_DECLARE (fs_mkdtemp)
|
|
|
|
TEST_DECLARE (fs_mkstemp)
|
|
|
|
TEST_DECLARE (fs_fstat)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (fs_fstat_stdio)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (fs_access)
|
|
|
|
TEST_DECLARE (fs_chmod)
|
|
|
|
TEST_DECLARE (fs_copyfile)
|
|
|
|
TEST_DECLARE (fs_unlink_readonly)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_DECLARE (fs_unlink_archive_readonly)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (fs_chown)
|
|
|
|
TEST_DECLARE (fs_link)
|
|
|
|
TEST_DECLARE (fs_readlink)
|
|
|
|
TEST_DECLARE (fs_realpath)
|
|
|
|
TEST_DECLARE (fs_symlink)
|
|
|
|
TEST_DECLARE (fs_symlink_dir)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_DECLARE (fs_symlink_junction)
|
|
|
|
TEST_DECLARE (fs_non_symlink_reparse_point)
|
|
|
|
TEST_DECLARE (fs_lstat_windows_store_apps)
|
|
|
|
TEST_DECLARE (fs_open_flags)
|
|
|
|
#endif
|
|
|
|
#if defined(_WIN32) && !defined(USING_UV_SHARED)
|
|
|
|
TEST_DECLARE (fs_fd_hash)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (fs_utime)
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_DECLARE (fs_utime_round)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (fs_futime)
|
|
|
|
TEST_DECLARE (fs_lutime)
|
|
|
|
TEST_DECLARE (fs_file_open_append)
|
|
|
|
TEST_DECLARE (fs_statfs)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (fs_stat_batch_multiple)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (fs_stat_missing_path)
|
|
|
|
TEST_DECLARE (fs_read_bufs)
|
|
|
|
TEST_DECLARE (fs_read_file_eof)
|
|
|
|
TEST_DECLARE (fs_event_watch_dir)
|
|
|
|
TEST_DECLARE (fs_event_watch_dir_recursive)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_DECLARE (fs_event_watch_dir_short_path)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (fs_event_watch_file)
|
|
|
|
TEST_DECLARE (fs_event_watch_file_exact_path)
|
|
|
|
TEST_DECLARE (fs_event_watch_file_twice)
|
|
|
|
TEST_DECLARE (fs_event_watch_file_current_dir)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_DECLARE (fs_event_watch_file_root_dir)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (fs_event_watch_invalid_path)
|
|
|
|
TEST_DECLARE (fs_event_no_callback_after_close)
|
|
|
|
TEST_DECLARE (fs_event_no_callback_on_close)
|
|
|
|
TEST_DECLARE (fs_event_immediate_close)
|
|
|
|
TEST_DECLARE (fs_event_close_with_pending_event)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_DECLARE (fs_event_close_with_pending_delete_event)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (fs_event_close_in_callback)
|
|
|
|
TEST_DECLARE (fs_event_start_and_close)
|
|
|
|
TEST_DECLARE (fs_event_error_reporting)
|
|
|
|
TEST_DECLARE (fs_event_getpath)
|
2022-01-04 21:04:05 -05:00
|
|
|
TEST_DECLARE (fs_event_stop_in_cb)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (fs_scandir_empty_dir)
|
|
|
|
TEST_DECLARE (fs_scandir_non_existent_dir)
|
|
|
|
TEST_DECLARE (fs_scandir_file)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (fs_scandir_early_exit)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (fs_open_dir)
|
|
|
|
TEST_DECLARE (fs_readdir_empty_dir)
|
|
|
|
TEST_DECLARE (fs_readdir_file)
|
|
|
|
TEST_DECLARE (fs_readdir_non_empty_dir)
|
|
|
|
TEST_DECLARE (fs_readdir_non_existing_dir)
|
|
|
|
TEST_DECLARE (fs_rename_to_existing_file)
|
|
|
|
TEST_DECLARE (fs_write_multiple_bufs)
|
|
|
|
TEST_DECLARE (fs_read_write_null_arguments)
|
|
|
|
TEST_DECLARE (get_osfhandle_valid_handle)
|
|
|
|
TEST_DECLARE (open_osfhandle_valid_handle)
|
|
|
|
TEST_DECLARE (fs_write_alotof_bufs)
|
|
|
|
TEST_DECLARE (fs_write_alotof_bufs_with_offset)
|
|
|
|
TEST_DECLARE (fs_partial_read)
|
|
|
|
TEST_DECLARE (fs_partial_write)
|
|
|
|
TEST_DECLARE (fs_file_pos_after_op_with_offset)
|
|
|
|
TEST_DECLARE (fs_null_req)
|
|
|
|
TEST_DECLARE (fs_read_dir)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_DECLARE (fs_file_pos_write)
|
|
|
|
TEST_DECLARE (fs_file_pos_append)
|
|
|
|
TEST_DECLARE (fs_exclusive_sharing_mode)
|
|
|
|
TEST_DECLARE (fs_file_flag_no_buffering)
|
|
|
|
TEST_DECLARE (fs_open_readonly_acl)
|
|
|
|
TEST_DECLARE (fs_fchmod_archive_readonly)
|
|
|
|
TEST_DECLARE (fs_invalid_mkdir_name)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (fs_get_system_error)
|
|
|
|
TEST_DECLARE (strscpy)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_DECLARE (strtok)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (threadpool_queue_work_simple)
|
|
|
|
TEST_DECLARE (threadpool_queue_work_einval)
|
|
|
|
TEST_DECLARE (threadpool_multiple_event_loops)
|
|
|
|
TEST_DECLARE (threadpool_cancel_getaddrinfo)
|
|
|
|
TEST_DECLARE (threadpool_cancel_getnameinfo)
|
|
|
|
TEST_DECLARE (threadpool_cancel_random)
|
|
|
|
TEST_DECLARE (threadpool_cancel_work)
|
|
|
|
TEST_DECLARE (threadpool_cancel_fs)
|
|
|
|
TEST_DECLARE (threadpool_cancel_single)
|
|
|
|
TEST_DECLARE (thread_local_storage)
|
|
|
|
TEST_DECLARE (thread_stack_size)
|
|
|
|
TEST_DECLARE (thread_stack_size_explicit)
|
|
|
|
TEST_DECLARE (thread_mutex)
|
|
|
|
TEST_DECLARE (thread_mutex_recursive)
|
|
|
|
TEST_DECLARE (thread_rwlock)
|
|
|
|
TEST_DECLARE (thread_rwlock_trylock)
|
|
|
|
TEST_DECLARE (thread_create)
|
|
|
|
TEST_DECLARE (thread_equal)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (thread_affinity)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (dlerror)
|
|
|
|
#if (defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))) && \
|
|
|
|
!defined(__sun)
|
|
|
|
TEST_DECLARE (poll_oob)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (poll_duplex)
|
|
|
|
TEST_DECLARE (poll_unidirectional)
|
|
|
|
TEST_DECLARE (poll_close)
|
|
|
|
TEST_DECLARE (poll_bad_fdtype)
|
|
|
|
#ifdef __linux__
|
|
|
|
TEST_DECLARE (poll_nested_epoll)
|
|
|
|
#endif
|
|
|
|
#ifdef UV_HAVE_KQUEUE
|
|
|
|
TEST_DECLARE (poll_nested_kqueue)
|
|
|
|
#endif
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_DECLARE (poll_multiple_handles)
|
2021-01-02 13:10:00 -05:00
|
|
|
|
|
|
|
TEST_DECLARE (ip4_addr)
|
|
|
|
TEST_DECLARE (ip6_addr_link_local)
|
2022-01-04 21:04:05 -05:00
|
|
|
TEST_DECLARE (ip_name)
|
2021-01-02 13:10:00 -05:00
|
|
|
|
|
|
|
TEST_DECLARE (poll_close_doesnt_corrupt_stack)
|
|
|
|
TEST_DECLARE (poll_closesocket)
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_DECLARE (close_fd)
|
|
|
|
TEST_DECLARE (closed_fd_events)
|
|
|
|
TEST_DECLARE (spawn_fs_open)
|
2021-01-02 13:10:00 -05:00
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_DECLARE (spawn_detect_pipe_name_collisions_on_windows)
|
|
|
|
#if !defined(USING_UV_SHARED)
|
|
|
|
TEST_DECLARE (argument_escaping)
|
|
|
|
TEST_DECLARE (environment_creation)
|
|
|
|
#endif
|
|
|
|
TEST_DECLARE (listen_with_simultaneous_accepts)
|
|
|
|
TEST_DECLARE (listen_no_simultaneous_accepts)
|
|
|
|
TEST_DECLARE (fs_stat_root)
|
|
|
|
TEST_DECLARE (spawn_with_an_odd_path)
|
|
|
|
TEST_DECLARE (ipc_listen_after_bind_twice)
|
|
|
|
TEST_DECLARE (win32_signum_number)
|
|
|
|
#else
|
|
|
|
TEST_DECLARE (emfile)
|
|
|
|
TEST_DECLARE (spawn_setuid_setgid)
|
|
|
|
TEST_DECLARE (we_get_signal)
|
|
|
|
TEST_DECLARE (we_get_signals)
|
|
|
|
TEST_DECLARE (we_get_signal_one_shot)
|
|
|
|
TEST_DECLARE (we_get_signals_mixed)
|
|
|
|
TEST_DECLARE (signal_multiple_loops)
|
|
|
|
TEST_DECLARE (signal_pending_on_close)
|
|
|
|
TEST_DECLARE (signal_close_loop_alive)
|
|
|
|
#endif
|
|
|
|
#ifdef __APPLE__
|
|
|
|
TEST_DECLARE (osx_select)
|
|
|
|
TEST_DECLARE (osx_select_many_fds)
|
|
|
|
#endif
|
|
|
|
HELPER_DECLARE (tcp4_echo_server)
|
|
|
|
HELPER_DECLARE (tcp6_echo_server)
|
|
|
|
HELPER_DECLARE (udp4_echo_server)
|
|
|
|
HELPER_DECLARE (pipe_echo_server)
|
|
|
|
|
|
|
|
TEST_DECLARE (queue_foreach_delete)
|
|
|
|
|
|
|
|
TEST_DECLARE (random_async)
|
|
|
|
TEST_DECLARE (random_sync)
|
|
|
|
|
|
|
|
TEST_DECLARE (handle_type_name)
|
|
|
|
TEST_DECLARE (req_type_name)
|
|
|
|
TEST_DECLARE (getters_setters)
|
|
|
|
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_DECLARE (not_writable_after_shutdown)
|
|
|
|
TEST_DECLARE (not_readable_nor_writable_on_read_error)
|
2022-01-04 21:04:05 -05:00
|
|
|
TEST_DECLARE (readable_on_eof)
|
2021-07-27 18:08:18 -04:00
|
|
|
|
2021-01-02 13:10:00 -05:00
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_DECLARE (fork_timer)
|
|
|
|
TEST_DECLARE (fork_socketpair)
|
|
|
|
TEST_DECLARE (fork_socketpair_started)
|
|
|
|
TEST_DECLARE (fork_signal_to_child)
|
|
|
|
TEST_DECLARE (fork_signal_to_child_closed)
|
|
|
|
#ifndef __APPLE__ /* This is forbidden in a fork child: The process has forked
|
|
|
|
and you cannot use this CoreFoundation functionality
|
|
|
|
safely. You MUST exec(). */
|
|
|
|
TEST_DECLARE (fork_fs_events_child)
|
|
|
|
TEST_DECLARE (fork_fs_events_child_dir)
|
|
|
|
TEST_DECLARE (fork_fs_events_file_parent_child)
|
|
|
|
#endif
|
|
|
|
#ifndef __MVS__
|
|
|
|
TEST_DECLARE (fork_threadpool_queue_work_simple)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
TEST_DECLARE (idna_toascii)
|
|
|
|
TEST_DECLARE (utf8_decode1)
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_DECLARE (utf8_decode1_overrun)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (uname)
|
|
|
|
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_DECLARE (metrics_info_check)
|
|
|
|
TEST_DECLARE (metrics_pool_events)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_DECLARE (metrics_idle_time)
|
|
|
|
TEST_DECLARE (metrics_idle_time_thread)
|
|
|
|
TEST_DECLARE (metrics_idle_time_zero)
|
|
|
|
|
|
|
|
TASK_LIST_START
|
|
|
|
TEST_ENTRY_CUSTOM (platform_output, 0, 1, 5000)
|
|
|
|
|
|
|
|
TEST_ENTRY (test_macros)
|
|
|
|
TEST_ENTRY (close_order)
|
|
|
|
TEST_ENTRY (run_once)
|
|
|
|
TEST_ENTRY (run_nowait)
|
|
|
|
TEST_ENTRY (loop_alive)
|
|
|
|
TEST_ENTRY (loop_close)
|
|
|
|
TEST_ENTRY (loop_instant_close)
|
|
|
|
TEST_ENTRY (loop_stop)
|
|
|
|
TEST_ENTRY (loop_update_time)
|
|
|
|
TEST_ENTRY (loop_backend_timeout)
|
|
|
|
TEST_ENTRY (loop_configure)
|
|
|
|
TEST_ENTRY (default_loop_close)
|
|
|
|
TEST_ENTRY (barrier_1)
|
|
|
|
TEST_ENTRY (barrier_2)
|
|
|
|
TEST_ENTRY (barrier_3)
|
|
|
|
TEST_ENTRY (barrier_serial_thread)
|
|
|
|
TEST_ENTRY (barrier_serial_thread_single)
|
|
|
|
TEST_ENTRY (condvar_1)
|
|
|
|
TEST_ENTRY (condvar_2)
|
|
|
|
TEST_ENTRY (condvar_3)
|
|
|
|
TEST_ENTRY (condvar_4)
|
|
|
|
TEST_ENTRY (condvar_5)
|
|
|
|
TEST_ENTRY (semaphore_1)
|
|
|
|
TEST_ENTRY (semaphore_2)
|
|
|
|
TEST_ENTRY (semaphore_3)
|
|
|
|
|
|
|
|
TEST_ENTRY (pipe_connect_bad_name)
|
|
|
|
TEST_ENTRY (pipe_connect_to_file)
|
|
|
|
TEST_ENTRY (pipe_connect_on_prepare)
|
|
|
|
|
|
|
|
TEST_ENTRY (pipe_server_close)
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_ENTRY (pipe_close_stdout_read_stdin)
|
|
|
|
#endif
|
2021-07-27 18:08:18 -04:00
|
|
|
/* Seems to be either about 0.5s or 5s, depending on the OS. */
|
|
|
|
TEST_ENTRY_CUSTOM (pipe_set_non_blocking, 0, 0, 20000)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (pipe_set_chmod)
|
|
|
|
TEST_ENTRY (tty)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_ENTRY (tty_raw)
|
|
|
|
TEST_ENTRY (tty_empty_write)
|
|
|
|
TEST_ENTRY (tty_large_write)
|
|
|
|
TEST_ENTRY (tty_raw_cancel)
|
|
|
|
TEST_ENTRY (tty_duplicate_vt100_fn_key)
|
|
|
|
TEST_ENTRY (tty_duplicate_alt_modifier_key)
|
|
|
|
TEST_ENTRY (tty_composing_character)
|
|
|
|
TEST_ENTRY (tty_cursor_up)
|
|
|
|
TEST_ENTRY (tty_cursor_down)
|
|
|
|
TEST_ENTRY (tty_cursor_forward)
|
|
|
|
TEST_ENTRY (tty_cursor_back)
|
|
|
|
TEST_ENTRY (tty_cursor_next_line)
|
|
|
|
TEST_ENTRY (tty_cursor_previous_line)
|
|
|
|
TEST_ENTRY (tty_cursor_horizontal_move_absolute)
|
|
|
|
TEST_ENTRY (tty_cursor_move_absolute)
|
|
|
|
TEST_ENTRY (tty_hide_show_cursor)
|
|
|
|
TEST_ENTRY (tty_set_cursor_shape)
|
|
|
|
TEST_ENTRY (tty_erase)
|
|
|
|
TEST_ENTRY (tty_erase_line)
|
|
|
|
TEST_ENTRY (tty_set_style)
|
|
|
|
TEST_ENTRY (tty_save_restore_cursor_position)
|
|
|
|
TEST_ENTRY (tty_full_reset)
|
|
|
|
TEST_ENTRY (tty_escape_sequence_processing)
|
|
|
|
#endif
|
|
|
|
TEST_ENTRY (tty_file)
|
|
|
|
TEST_ENTRY (tty_pty)
|
|
|
|
TEST_ENTRY (stdio_over_pipes)
|
|
|
|
TEST_ENTRY (stdio_emulate_iocp)
|
|
|
|
TEST_ENTRY (ip6_pton)
|
2022-01-04 21:04:05 -05:00
|
|
|
TEST_ENTRY (ip6_sin6_len)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (connect_unspecified)
|
|
|
|
TEST_ENTRY (ipc_heavy_traffic_deadlock_bug)
|
|
|
|
TEST_ENTRY (ipc_listen_before_write)
|
|
|
|
TEST_ENTRY (ipc_listen_after_write)
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_ENTRY (ipc_send_recv_pipe)
|
|
|
|
TEST_ENTRY (ipc_send_recv_pipe_inprocess)
|
|
|
|
#endif
|
|
|
|
TEST_ENTRY (ipc_send_recv_tcp)
|
|
|
|
TEST_ENTRY (ipc_send_recv_tcp_inprocess)
|
|
|
|
TEST_ENTRY (ipc_tcp_connection)
|
|
|
|
TEST_ENTRY (ipc_send_zero)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_alloc_cb_fail)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_ping_pong)
|
|
|
|
TEST_HELPER (tcp_ping_pong, tcp4_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_ping_pong_vec)
|
|
|
|
TEST_HELPER (tcp_ping_pong_vec, tcp4_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp6_ping_pong)
|
|
|
|
TEST_HELPER (tcp6_ping_pong, tcp6_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp6_ping_pong_vec)
|
|
|
|
TEST_HELPER (tcp6_ping_pong_vec, tcp6_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (pipe_ping_pong)
|
|
|
|
TEST_HELPER (pipe_ping_pong, pipe_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (pipe_ping_pong_vec)
|
|
|
|
TEST_HELPER (pipe_ping_pong_vec, pipe_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (delayed_accept)
|
|
|
|
TEST_ENTRY (multiple_listen)
|
|
|
|
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_ENTRY (tcp_write_after_connect)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __MVS__
|
|
|
|
TEST_ENTRY_CUSTOM (tcp_writealot, 0, 0, 20000)
|
|
|
|
#else
|
|
|
|
TEST_ENTRY (tcp_writealot)
|
|
|
|
#endif
|
|
|
|
TEST_HELPER (tcp_writealot, tcp4_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_write_fail)
|
|
|
|
TEST_HELPER (tcp_write_fail, tcp4_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_try_write)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (tcp_write_in_a_row)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (tcp_try_write_error)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_write_queue_order)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_open)
|
|
|
|
TEST_HELPER (tcp_open, tcp4_echo_server)
|
|
|
|
TEST_ENTRY (tcp_open_twice)
|
|
|
|
TEST_ENTRY (tcp_open_bound)
|
|
|
|
TEST_ENTRY (tcp_open_connected)
|
|
|
|
TEST_HELPER (tcp_open_connected, tcp4_echo_server)
|
|
|
|
TEST_ENTRY (tcp_write_ready)
|
|
|
|
TEST_HELPER (tcp_write_ready, tcp4_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_shutdown_after_write)
|
|
|
|
TEST_HELPER (tcp_shutdown_after_write, tcp4_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_connect_error_after_write)
|
2021-07-27 18:08:18 -04:00
|
|
|
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)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (tcp_bind_error_addrnotavail_1)
|
|
|
|
TEST_ENTRY (tcp_bind_error_addrnotavail_2)
|
|
|
|
TEST_ENTRY (tcp_bind_error_fault)
|
|
|
|
TEST_ENTRY (tcp_bind_error_inval)
|
|
|
|
TEST_ENTRY (tcp_bind_localhost_ok)
|
|
|
|
TEST_ENTRY (tcp_bind_invalid_flags)
|
|
|
|
TEST_ENTRY (tcp_bind_writable_flags)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_ENTRY (tcp_bind_or_listen_error_after_close)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (tcp_listen_without_bind)
|
|
|
|
TEST_ENTRY (tcp_connect_error_fault)
|
|
|
|
TEST_ENTRY (tcp_connect_timeout)
|
|
|
|
TEST_ENTRY (tcp_local_connect_timeout)
|
|
|
|
TEST_ENTRY (tcp6_local_connect_timeout)
|
|
|
|
TEST_ENTRY (tcp_close_while_connecting)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_ENTRY (tcp_close_after_read_timeout)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (tcp_close)
|
|
|
|
TEST_ENTRY (tcp_close_reset_accepted)
|
|
|
|
TEST_ENTRY (tcp_close_reset_accepted_after_shutdown)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_ENTRY (tcp_close_reset_accepted_after_socket_shutdown)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (tcp_close_reset_client)
|
|
|
|
TEST_ENTRY (tcp_close_reset_client_after_shutdown)
|
|
|
|
TEST_ENTRY (tcp_create_early)
|
|
|
|
TEST_ENTRY (tcp_create_early_bad_bind)
|
|
|
|
TEST_ENTRY (tcp_create_early_bad_domain)
|
|
|
|
TEST_ENTRY (tcp_create_early_accept)
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_ENTRY (tcp_close_accept)
|
|
|
|
TEST_ENTRY (tcp_oob)
|
|
|
|
#endif
|
|
|
|
TEST_ENTRY (tcp_flags)
|
|
|
|
TEST_ENTRY (tcp_write_to_half_open_connection)
|
|
|
|
TEST_ENTRY (tcp_unexpected_read)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_read_stop)
|
|
|
|
TEST_HELPER (tcp_read_stop, tcp4_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (tcp_read_stop_start)
|
|
|
|
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_ENTRY (tcp_rst)
|
|
|
|
TEST_HELPER (tcp_rst, tcp4_echo_server)
|
|
|
|
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (tcp_bind6_error_addrinuse)
|
|
|
|
TEST_ENTRY (tcp_bind6_error_addrnotavail)
|
|
|
|
TEST_ENTRY (tcp_bind6_error_fault)
|
|
|
|
TEST_ENTRY (tcp_bind6_error_inval)
|
|
|
|
TEST_ENTRY (tcp_bind6_localhost_ok)
|
|
|
|
|
|
|
|
TEST_ENTRY (udp_alloc_cb_fail)
|
|
|
|
TEST_ENTRY (udp_bind)
|
|
|
|
TEST_ENTRY (udp_bind_reuseaddr)
|
|
|
|
TEST_ENTRY (udp_connect)
|
2022-01-04 21:04:05 -05:00
|
|
|
TEST_ENTRY (udp_connect6)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (udp_create_early)
|
|
|
|
TEST_ENTRY (udp_create_early_bad_bind)
|
|
|
|
TEST_ENTRY (udp_create_early_bad_domain)
|
|
|
|
TEST_ENTRY (udp_send_and_recv)
|
|
|
|
TEST_ENTRY (udp_send_hang_loop)
|
|
|
|
TEST_ENTRY (udp_send_immediate)
|
|
|
|
TEST_ENTRY (udp_send_unreachable)
|
|
|
|
TEST_ENTRY (udp_dgram_too_big)
|
|
|
|
TEST_ENTRY (udp_dual_stack)
|
|
|
|
TEST_ENTRY (udp_ipv6_only)
|
|
|
|
TEST_ENTRY (udp_options)
|
|
|
|
TEST_ENTRY (udp_options6)
|
|
|
|
TEST_ENTRY (udp_no_autobind)
|
|
|
|
TEST_ENTRY (udp_mmsg)
|
|
|
|
TEST_ENTRY (udp_multicast_interface)
|
|
|
|
TEST_ENTRY (udp_multicast_interface6)
|
|
|
|
TEST_ENTRY (udp_multicast_join)
|
|
|
|
TEST_ENTRY (udp_multicast_join6)
|
|
|
|
TEST_ENTRY (udp_multicast_ttl)
|
|
|
|
TEST_ENTRY (udp_sendmmsg_error)
|
|
|
|
TEST_ENTRY (udp_try_send)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (udp_recv_in_a_row)
|
2021-01-02 13:10:00 -05:00
|
|
|
|
|
|
|
TEST_ENTRY (udp_open)
|
|
|
|
TEST_ENTRY (udp_open_twice)
|
|
|
|
TEST_ENTRY (udp_open_bound)
|
|
|
|
TEST_ENTRY (udp_open_connect)
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_ENTRY (udp_send_unix)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
TEST_ENTRY (pipe_bind_error_addrinuse)
|
|
|
|
TEST_ENTRY (pipe_bind_error_addrnotavail)
|
|
|
|
TEST_ENTRY (pipe_bind_error_inval)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (pipe_connect_close_multiple)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (pipe_connect_multiple)
|
|
|
|
TEST_ENTRY (pipe_listen_without_bind)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_ENTRY (pipe_bind_or_listen_error_after_close)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (pipe_getsockname)
|
|
|
|
TEST_ENTRY (pipe_getsockname_abstract)
|
|
|
|
TEST_ENTRY (pipe_getsockname_blocking)
|
|
|
|
TEST_ENTRY (pipe_pending_instances)
|
|
|
|
TEST_ENTRY (pipe_sendmsg)
|
|
|
|
|
|
|
|
TEST_ENTRY (connection_fail)
|
|
|
|
TEST_ENTRY (connection_fail_doesnt_auto_close)
|
|
|
|
|
|
|
|
TEST_ENTRY (shutdown_close_tcp)
|
|
|
|
TEST_HELPER (shutdown_close_tcp, tcp4_echo_server)
|
|
|
|
TEST_ENTRY (shutdown_close_pipe)
|
|
|
|
TEST_HELPER (shutdown_close_pipe, pipe_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (shutdown_eof)
|
|
|
|
TEST_HELPER (shutdown_eof, tcp4_echo_server)
|
|
|
|
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_ENTRY (shutdown_simultaneous)
|
|
|
|
TEST_HELPER (shutdown_simultaneous, tcp4_echo_server)
|
|
|
|
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (shutdown_twice)
|
|
|
|
TEST_HELPER (shutdown_twice, tcp4_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (callback_stack)
|
|
|
|
TEST_HELPER (callback_stack, tcp4_echo_server)
|
|
|
|
|
|
|
|
TEST_ENTRY (env_vars)
|
|
|
|
|
|
|
|
TEST_ENTRY (error_message)
|
|
|
|
TEST_ENTRY (sys_error)
|
|
|
|
|
|
|
|
TEST_ENTRY (timer)
|
|
|
|
TEST_ENTRY (timer_init)
|
|
|
|
TEST_ENTRY (timer_again)
|
|
|
|
TEST_ENTRY (timer_start_twice)
|
|
|
|
TEST_ENTRY (timer_order)
|
|
|
|
TEST_ENTRY (timer_huge_timeout)
|
|
|
|
TEST_ENTRY (timer_huge_repeat)
|
|
|
|
TEST_ENTRY (timer_run_once)
|
|
|
|
TEST_ENTRY (timer_from_check)
|
|
|
|
TEST_ENTRY (timer_is_closing)
|
|
|
|
TEST_ENTRY (timer_null_callback)
|
|
|
|
TEST_ENTRY (timer_early_check)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (timer_no_double_call_once)
|
|
|
|
TEST_ENTRY (timer_no_double_call_nowait)
|
2021-01-02 13:10:00 -05:00
|
|
|
|
|
|
|
TEST_ENTRY (idle_starvation)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_ENTRY (idle_check)
|
2021-01-02 13:10:00 -05:00
|
|
|
|
|
|
|
TEST_ENTRY (ref)
|
|
|
|
TEST_ENTRY (idle_ref)
|
|
|
|
TEST_ENTRY (fs_poll_ref)
|
|
|
|
TEST_ENTRY (async_ref)
|
|
|
|
TEST_ENTRY (prepare_ref)
|
|
|
|
TEST_ENTRY (check_ref)
|
|
|
|
TEST_ENTRY (unref_in_prepare_cb)
|
|
|
|
TEST_ENTRY (timer_ref)
|
|
|
|
TEST_ENTRY (timer_ref2)
|
|
|
|
TEST_ENTRY (fs_event_ref)
|
|
|
|
TEST_ENTRY (tcp_ref)
|
|
|
|
TEST_ENTRY (tcp_ref2)
|
|
|
|
TEST_ENTRY (tcp_ref2b)
|
|
|
|
TEST_ENTRY (tcp_ref3)
|
|
|
|
TEST_HELPER (tcp_ref3, tcp4_echo_server)
|
|
|
|
TEST_ENTRY (tcp_ref4)
|
|
|
|
TEST_HELPER (tcp_ref4, tcp4_echo_server)
|
|
|
|
TEST_ENTRY (udp_ref)
|
|
|
|
TEST_ENTRY (udp_ref2)
|
|
|
|
TEST_ENTRY (udp_ref3)
|
|
|
|
TEST_HELPER (udp_ref3, udp4_echo_server)
|
|
|
|
TEST_ENTRY (pipe_ref)
|
|
|
|
TEST_ENTRY (pipe_ref2)
|
|
|
|
TEST_ENTRY (pipe_ref3)
|
|
|
|
TEST_HELPER (pipe_ref3, pipe_echo_server)
|
|
|
|
TEST_ENTRY (pipe_ref4)
|
|
|
|
TEST_HELPER (pipe_ref4, pipe_echo_server)
|
|
|
|
TEST_ENTRY (process_ref)
|
|
|
|
TEST_ENTRY (process_priority)
|
|
|
|
TEST_ENTRY (has_ref)
|
|
|
|
|
|
|
|
TEST_ENTRY (loop_handles)
|
|
|
|
TEST_ENTRY (walk_handles)
|
|
|
|
|
|
|
|
TEST_ENTRY (watcher_cross_stop)
|
|
|
|
|
|
|
|
TEST_ENTRY (active)
|
|
|
|
|
|
|
|
TEST_ENTRY (embed)
|
|
|
|
|
|
|
|
TEST_ENTRY (async)
|
|
|
|
TEST_ENTRY (async_null_cb)
|
|
|
|
TEST_ENTRY (eintr_handling)
|
|
|
|
|
|
|
|
TEST_ENTRY (get_currentexe)
|
|
|
|
|
|
|
|
TEST_ENTRY (process_title)
|
|
|
|
TEST_ENTRY (process_title_big_argv)
|
|
|
|
TEST_ENTRY (process_title_threadsafe)
|
|
|
|
|
|
|
|
TEST_ENTRY (cwd_and_chdir)
|
|
|
|
|
|
|
|
TEST_ENTRY (get_memory)
|
|
|
|
|
|
|
|
TEST_ENTRY (get_passwd)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (get_passwd2)
|
|
|
|
TEST_ENTRY (get_group)
|
2021-01-02 13:10:00 -05:00
|
|
|
|
|
|
|
TEST_ENTRY (get_loadavg)
|
|
|
|
|
|
|
|
TEST_ENTRY (handle_fileno)
|
|
|
|
|
|
|
|
TEST_ENTRY (homedir)
|
|
|
|
|
|
|
|
TEST_ENTRY (tmpdir)
|
|
|
|
|
|
|
|
TEST_ENTRY_CUSTOM (hrtime, 0, 0, 20000)
|
|
|
|
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (clock_gettime)
|
|
|
|
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY_CUSTOM (getaddrinfo_fail, 0, 0, 10000)
|
|
|
|
TEST_ENTRY_CUSTOM (getaddrinfo_fail_sync, 0, 0, 10000)
|
|
|
|
|
|
|
|
TEST_ENTRY (getaddrinfo_basic)
|
|
|
|
TEST_ENTRY (getaddrinfo_basic_sync)
|
|
|
|
TEST_ENTRY (getaddrinfo_concurrent)
|
|
|
|
|
|
|
|
TEST_ENTRY (gethostname)
|
|
|
|
|
|
|
|
TEST_ENTRY (getnameinfo_basic_ip4)
|
|
|
|
TEST_ENTRY (getnameinfo_basic_ip4_sync)
|
|
|
|
TEST_ENTRY (getnameinfo_basic_ip6)
|
|
|
|
|
|
|
|
TEST_ENTRY (getsockname_tcp)
|
|
|
|
TEST_ENTRY (getsockname_udp)
|
|
|
|
|
|
|
|
TEST_ENTRY (gettimeofday)
|
|
|
|
|
|
|
|
TEST_ENTRY (poll_duplex)
|
|
|
|
TEST_ENTRY (poll_unidirectional)
|
|
|
|
TEST_ENTRY (poll_close)
|
|
|
|
TEST_ENTRY (poll_bad_fdtype)
|
|
|
|
#if (defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))) && \
|
|
|
|
!defined(__sun)
|
|
|
|
TEST_ENTRY (poll_oob)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __linux__
|
|
|
|
TEST_ENTRY (poll_nested_epoll)
|
|
|
|
#endif
|
|
|
|
#ifdef UV_HAVE_KQUEUE
|
|
|
|
TEST_ENTRY (poll_nested_kqueue)
|
|
|
|
#endif
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_ENTRY (poll_multiple_handles)
|
2021-01-02 13:10:00 -05:00
|
|
|
|
|
|
|
TEST_ENTRY (socket_buffer_size)
|
|
|
|
|
|
|
|
TEST_ENTRY (spawn_fails)
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_ENTRY (spawn_fails_check_for_waitpid_cleanup)
|
|
|
|
#endif
|
|
|
|
TEST_ENTRY (spawn_empty_env)
|
|
|
|
TEST_ENTRY (spawn_exit_code)
|
|
|
|
TEST_ENTRY (spawn_stdout)
|
|
|
|
TEST_ENTRY (spawn_stdin)
|
|
|
|
TEST_ENTRY (spawn_stdio_greater_than_3)
|
|
|
|
TEST_ENTRY (spawn_ignored_stdio)
|
|
|
|
TEST_ENTRY (spawn_and_kill)
|
|
|
|
TEST_ENTRY (spawn_detached)
|
|
|
|
TEST_ENTRY (spawn_and_kill_with_std)
|
|
|
|
TEST_ENTRY (spawn_and_ping)
|
|
|
|
TEST_ENTRY (spawn_preserve_env)
|
|
|
|
TEST_ENTRY (spawn_setuid_fails)
|
|
|
|
TEST_ENTRY (spawn_setgid_fails)
|
|
|
|
TEST_ENTRY (spawn_stdout_to_file)
|
|
|
|
TEST_ENTRY (spawn_stdout_and_stderr_to_file)
|
|
|
|
TEST_ENTRY (spawn_stdout_and_stderr_to_file2)
|
|
|
|
TEST_ENTRY (spawn_stdout_and_stderr_to_file_swap)
|
|
|
|
TEST_ENTRY (spawn_auto_unref)
|
|
|
|
TEST_ENTRY (spawn_closed_process_io)
|
|
|
|
TEST_ENTRY (spawn_reads_child_path)
|
|
|
|
TEST_ENTRY (spawn_inherit_streams)
|
|
|
|
TEST_ENTRY (spawn_quoted_path)
|
|
|
|
TEST_ENTRY (spawn_tcp_server)
|
2022-03-07 16:34:07 -05:00
|
|
|
TEST_ENTRY (spawn_exercise_sigchld_issue)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_ENTRY (spawn_relative_path)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (fs_poll)
|
|
|
|
TEST_ENTRY (fs_poll_getpath)
|
|
|
|
TEST_ENTRY (fs_poll_close_request)
|
|
|
|
TEST_ENTRY (fs_poll_close_request_multi_start_stop)
|
|
|
|
TEST_ENTRY (fs_poll_close_request_multi_stop_start)
|
|
|
|
TEST_ENTRY (fs_poll_close_request_stop_when_active)
|
|
|
|
TEST_ENTRY (kill)
|
|
|
|
TEST_ENTRY (kill_invalid_signum)
|
|
|
|
|
|
|
|
TEST_ENTRY (poll_close_doesnt_corrupt_stack)
|
|
|
|
TEST_ENTRY (poll_closesocket)
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_ENTRY (close_fd)
|
|
|
|
TEST_ENTRY (closed_fd_events)
|
|
|
|
TEST_ENTRY (spawn_fs_open)
|
2021-01-02 13:10:00 -05:00
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_ENTRY (spawn_detect_pipe_name_collisions_on_windows)
|
|
|
|
#if !defined(USING_UV_SHARED)
|
|
|
|
TEST_ENTRY (argument_escaping)
|
|
|
|
TEST_ENTRY (environment_creation)
|
|
|
|
# endif
|
|
|
|
TEST_ENTRY (listen_with_simultaneous_accepts)
|
|
|
|
TEST_ENTRY (listen_no_simultaneous_accepts)
|
|
|
|
TEST_ENTRY (fs_stat_root)
|
|
|
|
TEST_ENTRY (spawn_with_an_odd_path)
|
|
|
|
TEST_ENTRY (ipc_listen_after_bind_twice)
|
|
|
|
TEST_ENTRY (win32_signum_number)
|
|
|
|
#else
|
|
|
|
TEST_ENTRY (emfile)
|
|
|
|
TEST_ENTRY (spawn_setuid_setgid)
|
|
|
|
TEST_ENTRY (we_get_signal)
|
|
|
|
TEST_ENTRY (we_get_signals)
|
|
|
|
TEST_ENTRY (we_get_signal_one_shot)
|
|
|
|
TEST_ENTRY (we_get_signals_mixed)
|
|
|
|
TEST_ENTRY (signal_multiple_loops)
|
|
|
|
TEST_ENTRY (signal_pending_on_close)
|
|
|
|
TEST_ENTRY (signal_close_loop_alive)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __APPLE__
|
|
|
|
TEST_ENTRY (osx_select)
|
|
|
|
TEST_ENTRY (osx_select_many_fds)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
TEST_ENTRY (fs_file_noent)
|
|
|
|
TEST_ENTRY (fs_file_nametoolong)
|
|
|
|
TEST_ENTRY (fs_file_loop)
|
|
|
|
TEST_ENTRY (fs_file_async)
|
|
|
|
TEST_ENTRY (fs_file_sync)
|
|
|
|
TEST_ENTRY (fs_file_write_null_buffer)
|
|
|
|
TEST_ENTRY (fs_async_dir)
|
|
|
|
TEST_ENTRY (fs_async_sendfile)
|
|
|
|
TEST_ENTRY (fs_async_sendfile_nodata)
|
|
|
|
TEST_ENTRY (fs_mkdtemp)
|
|
|
|
TEST_ENTRY (fs_mkstemp)
|
|
|
|
TEST_ENTRY (fs_fstat)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (fs_fstat_stdio)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (fs_access)
|
|
|
|
TEST_ENTRY (fs_chmod)
|
|
|
|
TEST_ENTRY (fs_copyfile)
|
|
|
|
TEST_ENTRY (fs_unlink_readonly)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_ENTRY (fs_unlink_archive_readonly)
|
|
|
|
#endif
|
|
|
|
TEST_ENTRY (fs_chown)
|
|
|
|
TEST_ENTRY (fs_utime)
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_ENTRY (fs_utime_round)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (fs_futime)
|
|
|
|
TEST_ENTRY (fs_lutime)
|
|
|
|
TEST_ENTRY (fs_readlink)
|
|
|
|
TEST_ENTRY (fs_realpath)
|
|
|
|
TEST_ENTRY (fs_symlink)
|
|
|
|
TEST_ENTRY (fs_symlink_dir)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_ENTRY (fs_symlink_junction)
|
|
|
|
TEST_ENTRY (fs_non_symlink_reparse_point)
|
|
|
|
TEST_ENTRY (fs_lstat_windows_store_apps)
|
|
|
|
TEST_ENTRY (fs_open_flags)
|
|
|
|
#endif
|
|
|
|
#if defined(_WIN32) && !defined(USING_UV_SHARED)
|
|
|
|
TEST_ENTRY (fs_fd_hash)
|
|
|
|
#endif
|
|
|
|
TEST_ENTRY (fs_statfs)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (fs_stat_batch_multiple)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (fs_stat_missing_path)
|
|
|
|
TEST_ENTRY (fs_read_bufs)
|
|
|
|
TEST_ENTRY (fs_read_file_eof)
|
|
|
|
TEST_ENTRY (fs_file_open_append)
|
|
|
|
TEST_ENTRY (fs_event_watch_dir)
|
|
|
|
TEST_ENTRY (fs_event_watch_dir_recursive)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_ENTRY (fs_event_watch_dir_short_path)
|
|
|
|
#endif
|
|
|
|
TEST_ENTRY (fs_event_watch_file)
|
|
|
|
TEST_ENTRY (fs_event_watch_file_exact_path)
|
|
|
|
TEST_ENTRY (fs_event_watch_file_twice)
|
|
|
|
TEST_ENTRY (fs_event_watch_file_current_dir)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_ENTRY (fs_event_watch_file_root_dir)
|
|
|
|
#endif
|
|
|
|
TEST_ENTRY (fs_event_watch_invalid_path)
|
|
|
|
TEST_ENTRY (fs_event_no_callback_after_close)
|
|
|
|
TEST_ENTRY (fs_event_no_callback_on_close)
|
|
|
|
TEST_ENTRY (fs_event_immediate_close)
|
|
|
|
TEST_ENTRY (fs_event_close_with_pending_event)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_ENTRY (fs_event_close_with_pending_delete_event)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (fs_event_close_in_callback)
|
|
|
|
TEST_ENTRY (fs_event_start_and_close)
|
|
|
|
TEST_ENTRY_CUSTOM (fs_event_error_reporting, 0, 0, 60000)
|
|
|
|
TEST_ENTRY (fs_event_getpath)
|
2022-01-04 21:04:05 -05:00
|
|
|
TEST_ENTRY (fs_event_stop_in_cb)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (fs_scandir_empty_dir)
|
|
|
|
TEST_ENTRY (fs_scandir_non_existent_dir)
|
|
|
|
TEST_ENTRY (fs_scandir_file)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (fs_scandir_early_exit)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (fs_open_dir)
|
|
|
|
TEST_ENTRY (fs_readdir_empty_dir)
|
|
|
|
TEST_ENTRY (fs_readdir_file)
|
|
|
|
TEST_ENTRY (fs_readdir_non_empty_dir)
|
|
|
|
TEST_ENTRY (fs_readdir_non_existing_dir)
|
|
|
|
TEST_ENTRY (fs_rename_to_existing_file)
|
|
|
|
TEST_ENTRY (fs_write_multiple_bufs)
|
|
|
|
TEST_ENTRY (fs_write_alotof_bufs)
|
|
|
|
TEST_ENTRY (fs_write_alotof_bufs_with_offset)
|
|
|
|
TEST_ENTRY (fs_partial_read)
|
|
|
|
TEST_ENTRY (fs_partial_write)
|
|
|
|
TEST_ENTRY (fs_read_write_null_arguments)
|
|
|
|
TEST_ENTRY (fs_file_pos_after_op_with_offset)
|
|
|
|
TEST_ENTRY (fs_null_req)
|
|
|
|
TEST_ENTRY (fs_read_dir)
|
|
|
|
#ifdef _WIN32
|
|
|
|
TEST_ENTRY (fs_file_pos_write)
|
|
|
|
TEST_ENTRY (fs_file_pos_append)
|
|
|
|
TEST_ENTRY (fs_exclusive_sharing_mode)
|
|
|
|
TEST_ENTRY (fs_file_flag_no_buffering)
|
|
|
|
TEST_ENTRY (fs_open_readonly_acl)
|
|
|
|
TEST_ENTRY (fs_fchmod_archive_readonly)
|
|
|
|
TEST_ENTRY (fs_invalid_mkdir_name)
|
|
|
|
#endif
|
|
|
|
TEST_ENTRY (fs_get_system_error)
|
|
|
|
TEST_ENTRY (get_osfhandle_valid_handle)
|
|
|
|
TEST_ENTRY (open_osfhandle_valid_handle)
|
|
|
|
TEST_ENTRY (strscpy)
|
2022-07-24 17:25:38 -04:00
|
|
|
TEST_ENTRY (strtok)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (threadpool_queue_work_simple)
|
|
|
|
TEST_ENTRY (threadpool_queue_work_einval)
|
|
|
|
TEST_ENTRY_CUSTOM (threadpool_multiple_event_loops, 0, 0, 60000)
|
|
|
|
TEST_ENTRY (threadpool_cancel_getaddrinfo)
|
|
|
|
TEST_ENTRY (threadpool_cancel_getnameinfo)
|
|
|
|
TEST_ENTRY (threadpool_cancel_random)
|
|
|
|
TEST_ENTRY (threadpool_cancel_work)
|
|
|
|
TEST_ENTRY (threadpool_cancel_fs)
|
|
|
|
TEST_ENTRY (threadpool_cancel_single)
|
|
|
|
TEST_ENTRY (thread_local_storage)
|
|
|
|
TEST_ENTRY (thread_stack_size)
|
|
|
|
TEST_ENTRY (thread_stack_size_explicit)
|
|
|
|
TEST_ENTRY (thread_mutex)
|
|
|
|
TEST_ENTRY (thread_mutex_recursive)
|
|
|
|
TEST_ENTRY (thread_rwlock)
|
|
|
|
TEST_ENTRY (thread_rwlock_trylock)
|
|
|
|
TEST_ENTRY (thread_create)
|
|
|
|
TEST_ENTRY (thread_equal)
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (thread_affinity)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (dlerror)
|
|
|
|
TEST_ENTRY (ip4_addr)
|
|
|
|
TEST_ENTRY (ip6_addr_link_local)
|
2022-01-04 21:04:05 -05:00
|
|
|
TEST_ENTRY (ip_name)
|
2021-01-02 13:10:00 -05:00
|
|
|
|
|
|
|
TEST_ENTRY (queue_foreach_delete)
|
|
|
|
|
|
|
|
TEST_ENTRY (random_async)
|
|
|
|
TEST_ENTRY (random_sync)
|
|
|
|
|
|
|
|
TEST_ENTRY (handle_type_name)
|
|
|
|
TEST_ENTRY (req_type_name)
|
|
|
|
TEST_ENTRY (getters_setters)
|
|
|
|
|
|
|
|
#ifndef _WIN32
|
|
|
|
TEST_ENTRY (fork_timer)
|
|
|
|
TEST_ENTRY (fork_socketpair)
|
|
|
|
TEST_ENTRY (fork_socketpair_started)
|
|
|
|
TEST_ENTRY (fork_signal_to_child)
|
|
|
|
TEST_ENTRY (fork_signal_to_child_closed)
|
|
|
|
#ifndef __APPLE__
|
|
|
|
TEST_ENTRY (fork_fs_events_child)
|
|
|
|
TEST_ENTRY (fork_fs_events_child_dir)
|
|
|
|
TEST_ENTRY (fork_fs_events_file_parent_child)
|
|
|
|
#endif
|
|
|
|
#ifndef __MVS__
|
|
|
|
TEST_ENTRY (fork_threadpool_queue_work_simple)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
TEST_ENTRY (utf8_decode1)
|
2021-07-27 18:08:18 -04:00
|
|
|
TEST_ENTRY (utf8_decode1_overrun)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (uname)
|
|
|
|
|
|
|
|
/* Doesn't work on z/OS because that platform uses EBCDIC, not ASCII. */
|
|
|
|
#ifndef __MVS__
|
|
|
|
TEST_ENTRY (idna_toascii)
|
|
|
|
#endif
|
|
|
|
|
2021-07-27 18:08:18 -04:00
|
|
|
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)
|
2022-01-04 21:04:05 -05:00
|
|
|
TEST_ENTRY (readable_on_eof)
|
|
|
|
TEST_HELPER (readable_on_eof, tcp4_echo_server)
|
2021-07-27 18:08:18 -04:00
|
|
|
|
2023-05-21 17:36:51 -04:00
|
|
|
TEST_ENTRY (metrics_info_check)
|
|
|
|
TEST_ENTRY (metrics_pool_events)
|
2021-01-02 13:10:00 -05:00
|
|
|
TEST_ENTRY (metrics_idle_time)
|
|
|
|
TEST_ENTRY (metrics_idle_time_thread)
|
|
|
|
TEST_ENTRY (metrics_idle_time_zero)
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
/* These are for testing the test runner. */
|
|
|
|
TEST_ENTRY (fail_always)
|
|
|
|
TEST_ENTRY (pass_always)
|
|
|
|
#endif
|
|
|
|
TASK_LIST_END
|