xref: /libuv/test/test-list.h (revision c6b67af3)
1 /* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining a copy
4  * of this software and associated documentation files (the "Software"), to
5  * deal in the Software without restriction, including without limitation the
6  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7  * sell copies of the Software, and to permit persons to whom the Software is
8  * furnished to do so, subject to the following conditions:
9  *
10  * The above copyright notice and this permission notice shall be included in
11  * all copies or substantial portions of the Software.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19  * IN THE SOFTWARE.
20  */
21 
22 #include "uv.h"
23 
24 TEST_DECLARE   (platform_output)
25 TEST_DECLARE   (close_order)
26 TEST_DECLARE   (run_once)
27 TEST_DECLARE   (run_nowait)
28 TEST_DECLARE   (loop_alive)
29 TEST_DECLARE   (loop_close)
30 TEST_DECLARE   (loop_instant_close)
31 TEST_DECLARE   (loop_stop)
32 TEST_DECLARE   (loop_stop_before_run)
33 TEST_DECLARE   (loop_update_time)
34 TEST_DECLARE   (loop_backend_timeout)
35 TEST_DECLARE   (loop_configure)
36 TEST_DECLARE   (default_loop_close)
37 TEST_DECLARE   (barrier_1)
38 TEST_DECLARE   (barrier_2)
39 TEST_DECLARE   (barrier_3)
40 TEST_DECLARE   (barrier_serial_thread)
41 TEST_DECLARE   (barrier_serial_thread_single)
42 TEST_DECLARE   (condvar_1)
43 TEST_DECLARE   (condvar_2)
44 TEST_DECLARE   (condvar_3)
45 TEST_DECLARE   (condvar_4)
46 TEST_DECLARE   (condvar_5)
47 TEST_DECLARE   (semaphore_1)
48 TEST_DECLARE   (semaphore_2)
49 TEST_DECLARE   (semaphore_3)
50 TEST_DECLARE   (tty)
51 #ifdef _WIN32
52 TEST_DECLARE   (tty_raw)
53 TEST_DECLARE   (tty_empty_write)
54 TEST_DECLARE   (tty_large_write)
55 TEST_DECLARE   (tty_raw_cancel)
56 TEST_DECLARE   (tty_duplicate_vt100_fn_key)
57 TEST_DECLARE   (tty_duplicate_alt_modifier_key)
58 TEST_DECLARE   (tty_composing_character)
59 TEST_DECLARE   (tty_cursor_up)
60 TEST_DECLARE   (tty_cursor_down)
61 TEST_DECLARE   (tty_cursor_forward)
62 TEST_DECLARE   (tty_cursor_back)
63 TEST_DECLARE   (tty_cursor_next_line)
64 TEST_DECLARE   (tty_cursor_previous_line)
65 TEST_DECLARE   (tty_cursor_horizontal_move_absolute)
66 TEST_DECLARE   (tty_cursor_move_absolute)
67 TEST_DECLARE   (tty_hide_show_cursor)
68 TEST_DECLARE   (tty_set_cursor_shape)
69 TEST_DECLARE   (tty_erase)
70 TEST_DECLARE   (tty_erase_line)
71 TEST_DECLARE   (tty_set_style)
72 TEST_DECLARE   (tty_save_restore_cursor_position)
73 TEST_DECLARE   (tty_full_reset)
74 TEST_DECLARE   (tty_escape_sequence_processing)
75 #endif
76 TEST_DECLARE   (tty_file)
77 TEST_DECLARE   (tty_pty)
78 TEST_DECLARE   (stdio_over_pipes)
79 TEST_DECLARE   (stdio_emulate_iocp)
80 TEST_DECLARE   (ip6_pton)
81 TEST_DECLARE   (ip6_sin6_len)
82 TEST_DECLARE   (connect_unspecified)
83 TEST_DECLARE   (ipc_heavy_traffic_deadlock_bug)
84 TEST_DECLARE   (ipc_listen_before_write)
85 TEST_DECLARE   (ipc_listen_after_write)
86 #ifndef _WIN32
87 TEST_DECLARE   (ipc_send_recv_pipe)
88 TEST_DECLARE   (ipc_send_recv_pipe_inprocess)
89 #endif
90 TEST_DECLARE   (ipc_send_recv_tcp)
91 TEST_DECLARE   (ipc_send_recv_tcp_inprocess)
92 TEST_DECLARE   (ipc_tcp_connection)
93 TEST_DECLARE   (ipc_send_zero)
94 TEST_DECLARE   (tcp_alloc_cb_fail)
95 TEST_DECLARE   (tcp_ping_pong)
96 TEST_DECLARE   (tcp_ping_pong_vec)
97 TEST_DECLARE   (tcp6_ping_pong)
98 TEST_DECLARE   (tcp6_ping_pong_vec)
99 TEST_DECLARE   (pipe_ping_pong)
100 TEST_DECLARE   (pipe_ping_pong_vec)
101 TEST_DECLARE   (delayed_accept)
102 TEST_DECLARE   (multiple_listen)
103 #ifndef _WIN32
104 TEST_DECLARE   (tcp_write_after_connect)
105 #endif
106 TEST_DECLARE   (tcp_writealot)
107 TEST_DECLARE   (tcp_write_fail)
108 TEST_DECLARE   (tcp_try_write)
109 TEST_DECLARE   (tcp_write_in_a_row)
110 TEST_DECLARE   (tcp_try_write_error)
111 TEST_DECLARE   (tcp_write_queue_order)
112 TEST_DECLARE   (tcp_open)
113 TEST_DECLARE   (tcp_open_twice)
114 TEST_DECLARE   (tcp_open_bound)
115 TEST_DECLARE   (tcp_open_connected)
116 TEST_DECLARE   (tcp_connect_error_after_write)
117 TEST_DECLARE   (tcp_shutdown_after_write)
118 TEST_DECLARE   (tcp_bind_error_addrinuse_connect)
119 TEST_DECLARE   (tcp_bind_error_addrinuse_listen)
120 TEST_DECLARE   (tcp_bind_error_addrnotavail_1)
121 TEST_DECLARE   (tcp_bind_error_addrnotavail_2)
122 TEST_DECLARE   (tcp_bind_error_fault)
123 TEST_DECLARE   (tcp_bind_error_inval)
124 TEST_DECLARE   (tcp_bind_localhost_ok)
125 TEST_DECLARE   (tcp_bind_invalid_flags)
126 TEST_DECLARE   (tcp_bind_writable_flags)
127 TEST_DECLARE   (tcp_bind_or_listen_error_after_close)
128 TEST_DECLARE   (tcp_listen_without_bind)
129 TEST_DECLARE   (tcp_connect_error_fault)
130 TEST_DECLARE   (tcp_connect6_error_fault)
131 TEST_DECLARE   (tcp_connect6_link_local)
132 TEST_DECLARE   (tcp_connect_timeout)
133 TEST_DECLARE   (tcp_local_connect_timeout)
134 TEST_DECLARE   (tcp6_local_connect_timeout)
135 TEST_DECLARE   (tcp_close_while_connecting)
136 TEST_DECLARE   (tcp_close_after_read_timeout)
137 TEST_DECLARE   (tcp_close)
138 TEST_DECLARE   (tcp_close_reset_accepted)
139 TEST_DECLARE   (tcp_close_reset_accepted_after_shutdown)
140 TEST_DECLARE   (tcp_close_reset_accepted_after_socket_shutdown)
141 TEST_DECLARE   (tcp_close_reset_client)
142 TEST_DECLARE   (tcp_close_reset_client_after_shutdown)
143 TEST_DECLARE   (tcp_create_early)
144 TEST_DECLARE   (tcp_create_early_bad_bind)
145 TEST_DECLARE   (tcp_create_early_bad_domain)
146 TEST_DECLARE   (tcp_create_early_accept)
147 #ifndef _WIN32
148 TEST_DECLARE   (tcp_close_accept)
149 TEST_DECLARE   (tcp_oob)
150 #endif
151 TEST_DECLARE   (tcp_flags)
152 TEST_DECLARE   (tcp_write_to_half_open_connection)
153 TEST_DECLARE   (tcp_unexpected_read)
154 TEST_DECLARE   (tcp_read_stop)
155 TEST_DECLARE   (tcp_read_stop_start)
156 TEST_DECLARE   (tcp_reuseport)
157 TEST_DECLARE   (tcp_rst)
158 TEST_DECLARE   (tcp_bind6_error_addrinuse)
159 TEST_DECLARE   (tcp_bind6_error_addrnotavail)
160 TEST_DECLARE   (tcp_bind6_error_fault)
161 TEST_DECLARE   (tcp_bind6_error_inval)
162 TEST_DECLARE   (tcp_bind6_localhost_ok)
163 TEST_DECLARE   (tcp_write_ready)
164 TEST_DECLARE   (udp_alloc_cb_fail)
165 TEST_DECLARE   (udp_bind)
166 TEST_DECLARE   (udp_bind_reuseaddr)
167 TEST_DECLARE   (udp_connect)
168 TEST_DECLARE   (udp_connect6)
169 TEST_DECLARE   (udp_create_early)
170 TEST_DECLARE   (udp_create_early_bad_bind)
171 TEST_DECLARE   (udp_create_early_bad_domain)
172 TEST_DECLARE   (udp_send_and_recv)
173 TEST_DECLARE   (udp_send_hang_loop)
174 TEST_DECLARE   (udp_send_immediate)
175 TEST_DECLARE   (udp_send_unreachable)
176 TEST_DECLARE   (udp_mmsg)
177 TEST_DECLARE   (udp_multicast_join)
178 TEST_DECLARE   (udp_multicast_join6)
179 TEST_DECLARE   (udp_multicast_ttl)
180 TEST_DECLARE   (udp_multicast_interface)
181 TEST_DECLARE   (udp_multicast_interface6)
182 TEST_DECLARE   (udp_dgram_too_big)
183 TEST_DECLARE   (udp_dual_stack)
184 TEST_DECLARE   (udp_ipv6_only)
185 TEST_DECLARE   (udp_options)
186 TEST_DECLARE   (udp_options6)
187 TEST_DECLARE   (udp_no_autobind)
188 TEST_DECLARE   (udp_open)
189 TEST_DECLARE   (udp_open_twice)
190 TEST_DECLARE   (udp_open_bound)
191 TEST_DECLARE   (udp_open_connect)
192 TEST_DECLARE   (udp_recv_in_a_row)
193 TEST_DECLARE   (udp_reuseport)
194 #ifndef _WIN32
195 TEST_DECLARE   (udp_send_unix)
196 #endif
197 TEST_DECLARE   (udp_sendmmsg_error)
198 TEST_DECLARE   (udp_try_send)
199 TEST_DECLARE   (pipe_bind_error_addrinuse)
200 TEST_DECLARE   (pipe_bind_error_addrnotavail)
201 TEST_DECLARE   (pipe_bind_error_inval)
202 TEST_DECLARE   (pipe_connect_close_multiple)
203 TEST_DECLARE   (pipe_connect_multiple)
204 TEST_DECLARE   (pipe_listen_without_bind)
205 TEST_DECLARE   (pipe_bind_or_listen_error_after_close)
206 TEST_DECLARE   (pipe_overlong_path)
207 TEST_DECLARE   (pipe_connect_bad_name)
208 TEST_DECLARE   (pipe_connect_to_file)
209 TEST_DECLARE   (pipe_connect_on_prepare)
210 TEST_DECLARE   (pipe_getsockname)
211 TEST_DECLARE   (pipe_getsockname_abstract)
212 TEST_DECLARE   (pipe_getsockname_autobind)
213 TEST_DECLARE   (pipe_getsockname_blocking)
214 TEST_DECLARE   (pipe_pending_instances)
215 TEST_DECLARE   (pipe_sendmsg)
216 TEST_DECLARE   (pipe_server_close)
217 TEST_DECLARE   (connection_fail)
218 TEST_DECLARE   (connection_fail_doesnt_auto_close)
219 TEST_DECLARE   (shutdown_close_tcp)
220 TEST_DECLARE   (shutdown_close_pipe)
221 TEST_DECLARE   (shutdown_eof)
222 TEST_DECLARE   (shutdown_simultaneous)
223 TEST_DECLARE   (shutdown_twice)
224 TEST_DECLARE   (callback_stack)
225 TEST_DECLARE   (env_vars)
226 TEST_DECLARE   (error_message)
227 TEST_DECLARE   (sys_error)
228 TEST_DECLARE   (timer)
229 TEST_DECLARE   (timer_init)
230 TEST_DECLARE   (timer_again)
231 TEST_DECLARE   (timer_start_twice)
232 TEST_DECLARE   (timer_order)
233 TEST_DECLARE   (timer_zero_timeout)
234 TEST_DECLARE   (timer_huge_timeout)
235 TEST_DECLARE   (timer_huge_repeat)
236 TEST_DECLARE   (timer_run_once)
237 TEST_DECLARE   (timer_from_check)
238 TEST_DECLARE   (timer_is_closing)
239 TEST_DECLARE   (timer_null_callback)
240 TEST_DECLARE   (timer_early_check)
241 TEST_DECLARE   (timer_no_double_call_once)
242 TEST_DECLARE   (timer_no_double_call_nowait)
243 TEST_DECLARE   (timer_no_run_on_unref)
244 TEST_DECLARE   (idle_starvation)
245 TEST_DECLARE   (idle_check)
246 TEST_DECLARE   (loop_handles)
247 TEST_DECLARE   (get_loadavg)
248 TEST_DECLARE   (walk_handles)
249 TEST_DECLARE   (watcher_cross_stop)
250 TEST_DECLARE   (ref)
251 TEST_DECLARE   (idle_ref)
252 TEST_DECLARE   (async_ref)
253 TEST_DECLARE   (prepare_ref)
254 TEST_DECLARE   (check_ref)
255 TEST_DECLARE   (unref_in_prepare_cb)
256 TEST_DECLARE   (timer_ref)
257 TEST_DECLARE   (timer_ref2)
258 TEST_DECLARE   (fs_event_ref)
259 TEST_DECLARE   (fs_poll_ref)
260 TEST_DECLARE   (tcp_ref)
261 TEST_DECLARE   (tcp_ref2)
262 TEST_DECLARE   (tcp_ref2b)
263 TEST_DECLARE   (tcp_ref3)
264 TEST_DECLARE   (tcp_ref4)
265 TEST_DECLARE   (udp_ref)
266 TEST_DECLARE   (udp_ref2)
267 TEST_DECLARE   (udp_ref3)
268 TEST_DECLARE   (pipe_ref)
269 TEST_DECLARE   (pipe_ref2)
270 TEST_DECLARE   (pipe_ref3)
271 TEST_DECLARE   (pipe_ref4)
272 #ifndef _WIN32
273 TEST_DECLARE   (pipe_close_stdout_read_stdin)
274 #endif
275 TEST_DECLARE   (pipe_set_non_blocking)
276 TEST_DECLARE   (pipe_set_chmod)
277 TEST_DECLARE   (process_ref)
278 TEST_DECLARE   (process_priority)
279 TEST_DECLARE   (has_ref)
280 TEST_DECLARE   (active)
281 TEST_DECLARE   (embed)
282 TEST_DECLARE   (async)
283 TEST_DECLARE   (async_null_cb)
284 TEST_DECLARE   (eintr_handling)
285 TEST_DECLARE   (get_currentexe)
286 TEST_DECLARE   (process_title)
287 TEST_DECLARE   (process_title_big_argv)
288 TEST_DECLARE   (process_title_threadsafe)
289 TEST_DECLARE   (cwd_and_chdir)
290 TEST_DECLARE   (get_memory)
291 TEST_DECLARE   (get_passwd)
292 TEST_DECLARE   (get_passwd2)
293 TEST_DECLARE   (get_group)
294 TEST_DECLARE   (handle_fileno)
295 TEST_DECLARE   (homedir)
296 TEST_DECLARE   (tmpdir)
297 TEST_DECLARE   (hrtime)
298 TEST_DECLARE   (clock_gettime)
299 TEST_DECLARE   (getaddrinfo_fail)
300 TEST_DECLARE   (getaddrinfo_fail_sync)
301 TEST_DECLARE   (getaddrinfo_basic)
302 TEST_DECLARE   (getaddrinfo_basic_sync)
303 TEST_DECLARE   (getaddrinfo_concurrent)
304 TEST_DECLARE   (gethostname)
305 TEST_DECLARE   (getnameinfo_basic_ip4)
306 TEST_DECLARE   (getnameinfo_basic_ip4_sync)
307 TEST_DECLARE   (getnameinfo_basic_ip6)
308 TEST_DECLARE   (getsockname_tcp)
309 TEST_DECLARE   (getsockname_udp)
310 TEST_DECLARE   (gettimeofday)
311 TEST_DECLARE   (test_macros)
312 TEST_DECLARE   (fail_always)
313 TEST_DECLARE   (pass_always)
314 TEST_DECLARE   (socket_buffer_size)
315 TEST_DECLARE   (spawn_fails)
316 #ifndef _WIN32
317 TEST_DECLARE   (spawn_fails_check_for_waitpid_cleanup)
318 #endif
319 TEST_DECLARE   (spawn_empty_env)
320 TEST_DECLARE   (spawn_exit_code)
321 TEST_DECLARE   (spawn_stdout)
322 TEST_DECLARE   (spawn_stdin)
323 TEST_DECLARE   (spawn_stdio_greater_than_3)
324 TEST_DECLARE   (spawn_ignored_stdio)
325 TEST_DECLARE   (spawn_and_kill)
326 TEST_DECLARE   (spawn_detached)
327 TEST_DECLARE   (spawn_and_kill_with_std)
328 TEST_DECLARE   (spawn_and_ping)
329 TEST_DECLARE   (spawn_preserve_env)
330 TEST_DECLARE   (spawn_same_stdout_stderr)
331 TEST_DECLARE   (spawn_setuid_fails)
332 TEST_DECLARE   (spawn_setgid_fails)
333 TEST_DECLARE   (spawn_stdout_to_file)
334 TEST_DECLARE   (spawn_stdout_and_stderr_to_file)
335 TEST_DECLARE   (spawn_stdout_and_stderr_to_file2)
336 TEST_DECLARE   (spawn_stdout_and_stderr_to_file_swap)
337 TEST_DECLARE   (spawn_auto_unref)
338 TEST_DECLARE   (spawn_closed_process_io)
339 TEST_DECLARE   (spawn_reads_child_path)
340 TEST_DECLARE   (spawn_inherit_streams)
341 TEST_DECLARE   (spawn_quoted_path)
342 TEST_DECLARE   (spawn_tcp_server)
343 TEST_DECLARE   (spawn_exercise_sigchld_issue)
344 TEST_DECLARE   (spawn_relative_path)
345 TEST_DECLARE   (fs_poll)
346 TEST_DECLARE   (fs_poll_getpath)
347 TEST_DECLARE   (fs_poll_close_request)
348 TEST_DECLARE   (fs_poll_close_request_multi_start_stop)
349 TEST_DECLARE   (fs_poll_close_request_multi_stop_start)
350 TEST_DECLARE   (fs_poll_close_request_stop_when_active)
351 TEST_DECLARE   (kill)
352 TEST_DECLARE   (kill_invalid_signum)
353 TEST_DECLARE   (fs_file_noent)
354 TEST_DECLARE   (fs_file_nametoolong)
355 TEST_DECLARE   (fs_file_loop)
356 TEST_DECLARE   (fs_file_async)
357 TEST_DECLARE   (fs_file_sync)
358 TEST_DECLARE   (fs_posix_delete)
359 TEST_DECLARE   (fs_file_write_null_buffer)
360 TEST_DECLARE   (fs_async_dir)
361 TEST_DECLARE   (fs_async_sendfile)
362 TEST_DECLARE   (fs_async_sendfile_nodata)
363 TEST_DECLARE   (fs_mkdtemp)
364 TEST_DECLARE   (fs_mkstemp)
365 TEST_DECLARE   (fs_fstat)
366 TEST_DECLARE   (fs_fstat_stdio)
367 TEST_DECLARE   (fs_access)
368 TEST_DECLARE   (fs_chmod)
369 TEST_DECLARE   (fs_copyfile)
370 TEST_DECLARE   (fs_unlink_readonly)
371 #ifdef _WIN32
372 TEST_DECLARE   (fs_unlink_archive_readonly)
373 #endif
374 TEST_DECLARE   (fs_chown)
375 TEST_DECLARE   (fs_link)
376 TEST_DECLARE   (fs_readlink)
377 TEST_DECLARE   (fs_realpath)
378 TEST_DECLARE   (fs_symlink)
379 TEST_DECLARE   (fs_symlink_dir)
380 #ifdef _WIN32
381 TEST_DECLARE   (fs_symlink_junction)
382 TEST_DECLARE   (fs_non_symlink_reparse_point)
383 TEST_DECLARE   (fs_lstat_windows_store_apps)
384 TEST_DECLARE   (fs_open_flags)
385 #endif
386 #if defined(_WIN32) && !defined(USING_UV_SHARED)
387 TEST_DECLARE   (fs_fd_hash)
388 #endif
389 TEST_DECLARE   (fs_utime)
390 TEST_DECLARE   (fs_utime_round)
391 TEST_DECLARE   (fs_futime)
392 TEST_DECLARE   (fs_lutime)
393 TEST_DECLARE   (fs_file_open_append)
394 TEST_DECLARE   (fs_statfs)
395 TEST_DECLARE   (fs_stat_batch_multiple)
396 TEST_DECLARE   (fs_stat_missing_path)
397 TEST_DECLARE   (fs_read_bufs)
398 TEST_DECLARE   (fs_read_file_eof)
399 TEST_DECLARE   (fs_event_watch_dir)
400 TEST_DECLARE   (fs_event_watch_delete_dir)
401 TEST_DECLARE   (fs_event_watch_dir_recursive)
402 #ifdef _WIN32
403 TEST_DECLARE   (fs_event_watch_dir_short_path)
404 #endif
405 TEST_DECLARE   (fs_event_watch_file)
406 TEST_DECLARE   (fs_event_watch_file_exact_path)
407 TEST_DECLARE   (fs_event_watch_file_twice)
408 TEST_DECLARE   (fs_event_watch_file_current_dir)
409 #ifdef _WIN32
410 TEST_DECLARE   (fs_event_watch_file_root_dir)
411 #endif
412 TEST_DECLARE   (fs_event_watch_invalid_path)
413 TEST_DECLARE   (fs_event_no_callback_after_close)
414 TEST_DECLARE   (fs_event_no_callback_on_close)
415 TEST_DECLARE   (fs_event_immediate_close)
416 TEST_DECLARE   (fs_event_close_with_pending_event)
417 TEST_DECLARE   (fs_event_close_with_pending_delete_event)
418 TEST_DECLARE   (fs_event_close_in_callback)
419 TEST_DECLARE   (fs_event_start_and_close)
420 TEST_DECLARE   (fs_event_getpath)
421 TEST_DECLARE   (fs_event_stop_in_cb)
422 TEST_DECLARE   (fs_scandir_empty_dir)
423 TEST_DECLARE   (fs_scandir_non_existent_dir)
424 TEST_DECLARE   (fs_scandir_file)
425 TEST_DECLARE   (fs_scandir_early_exit)
426 TEST_DECLARE   (fs_open_dir)
427 TEST_DECLARE   (fs_readdir_empty_dir)
428 TEST_DECLARE   (fs_readdir_file)
429 TEST_DECLARE   (fs_readdir_non_empty_dir)
430 TEST_DECLARE   (fs_readdir_non_existing_dir)
431 #ifdef _WIN32
432 TEST_DECLARE   (fs_readdir_symlink)
433 #endif
434 TEST_DECLARE   (fs_rename_to_existing_file)
435 TEST_DECLARE   (fs_write_multiple_bufs)
436 TEST_DECLARE   (fs_read_write_null_arguments)
437 TEST_DECLARE   (get_osfhandle_valid_handle)
438 TEST_DECLARE   (open_osfhandle_valid_handle)
439 TEST_DECLARE   (fs_write_alotof_bufs)
440 TEST_DECLARE   (fs_write_alotof_bufs_with_offset)
441 TEST_DECLARE   (fs_partial_read)
442 TEST_DECLARE   (fs_partial_write)
443 TEST_DECLARE   (fs_file_pos_after_op_with_offset)
444 TEST_DECLARE   (fs_null_req)
445 TEST_DECLARE   (fs_read_dir)
446 #ifdef _WIN32
447 TEST_DECLARE   (fs_file_pos_write)
448 TEST_DECLARE   (fs_file_pos_append)
449 TEST_DECLARE   (fs_exclusive_sharing_mode)
450 TEST_DECLARE   (fs_file_flag_no_buffering)
451 TEST_DECLARE   (fs_open_readonly_acl)
452 TEST_DECLARE   (fs_fchmod_archive_readonly)
453 TEST_DECLARE   (fs_invalid_mkdir_name)
454 TEST_DECLARE   (fs_wtf)
455 #endif
456 TEST_DECLARE   (fs_get_system_error)
457 TEST_DECLARE   (strscpy)
458 TEST_DECLARE   (strtok)
459 TEST_DECLARE   (threadpool_queue_work_simple)
460 TEST_DECLARE   (threadpool_queue_work_einval)
461 TEST_DECLARE   (threadpool_multiple_event_loops)
462 TEST_DECLARE   (threadpool_cancel_getaddrinfo)
463 TEST_DECLARE   (threadpool_cancel_getnameinfo)
464 TEST_DECLARE   (threadpool_cancel_random)
465 TEST_DECLARE   (threadpool_cancel_work)
466 TEST_DECLARE   (threadpool_cancel_fs)
467 TEST_DECLARE   (threadpool_cancel_single)
468 TEST_DECLARE   (threadpool_cancel_when_busy)
469 TEST_DECLARE   (thread_local_storage)
470 TEST_DECLARE   (thread_stack_size)
471 TEST_DECLARE   (thread_stack_size_explicit)
472 TEST_DECLARE   (thread_mutex)
473 TEST_DECLARE   (thread_mutex_recursive)
474 TEST_DECLARE   (thread_rwlock)
475 TEST_DECLARE   (thread_rwlock_trylock)
476 TEST_DECLARE   (thread_create)
477 TEST_DECLARE   (thread_equal)
478 TEST_DECLARE   (thread_affinity)
479 TEST_DECLARE   (thread_priority)
480 TEST_DECLARE   (dlerror)
481 #if (defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))) && \
482     !defined(__sun)
483 TEST_DECLARE   (poll_oob)
484 #endif
485 TEST_DECLARE   (poll_duplex)
486 TEST_DECLARE   (poll_unidirectional)
487 TEST_DECLARE   (poll_close)
488 TEST_DECLARE   (poll_bad_fdtype)
489 #ifdef __linux__
490 TEST_DECLARE   (poll_nested_epoll)
491 #endif
492 #ifdef UV_HAVE_KQUEUE
493 TEST_DECLARE   (poll_nested_kqueue)
494 #endif
495 TEST_DECLARE   (poll_multiple_handles)
496 
497 TEST_DECLARE   (ip4_addr)
498 TEST_DECLARE   (ip6_addr_link_local)
499 TEST_DECLARE   (ip_name)
500 
501 TEST_DECLARE   (poll_close_doesnt_corrupt_stack)
502 TEST_DECLARE   (poll_closesocket)
503 TEST_DECLARE   (close_fd)
504 TEST_DECLARE   (closed_fd_events)
505 TEST_DECLARE   (spawn_fs_open)
506 #ifdef _WIN32
507 TEST_DECLARE   (spawn_detect_pipe_name_collisions_on_windows)
508 #if !defined(USING_UV_SHARED)
509 TEST_DECLARE   (argument_escaping)
510 TEST_DECLARE   (environment_creation)
511 #endif
512 TEST_DECLARE   (listen_with_simultaneous_accepts)
513 TEST_DECLARE   (listen_no_simultaneous_accepts)
514 TEST_DECLARE   (fs_stat_root)
515 TEST_DECLARE   (spawn_with_an_odd_path)
516 TEST_DECLARE   (spawn_no_path)
517 TEST_DECLARE   (spawn_no_ext)
518 TEST_DECLARE   (spawn_path_no_ext)
519 TEST_DECLARE   (ipc_listen_after_bind_twice)
520 TEST_DECLARE   (win32_signum_number)
521 #else
522 TEST_DECLARE   (emfile)
523 TEST_DECLARE   (spawn_setuid_setgid)
524 TEST_DECLARE   (we_get_signal)
525 TEST_DECLARE   (we_get_signals)
526 TEST_DECLARE   (we_get_signal_one_shot)
527 TEST_DECLARE   (we_get_signals_mixed)
528 TEST_DECLARE   (signal_multiple_loops)
529 TEST_DECLARE   (signal_pending_on_close)
530 TEST_DECLARE   (signal_close_loop_alive)
531 #endif
532 #ifdef __APPLE__
533 TEST_DECLARE   (osx_select)
534 TEST_DECLARE   (osx_select_many_fds)
535 #endif
536 HELPER_DECLARE (tcp4_echo_server)
537 HELPER_DECLARE (tcp6_echo_server)
538 HELPER_DECLARE (udp4_echo_server)
539 HELPER_DECLARE (pipe_echo_server)
540 
541 TEST_DECLARE   (queue_foreach_delete)
542 
543 TEST_DECLARE   (random_async)
544 TEST_DECLARE   (random_sync)
545 
546 TEST_DECLARE   (handle_type_name)
547 TEST_DECLARE   (req_type_name)
548 TEST_DECLARE   (getters_setters)
549 
550 TEST_DECLARE   (not_writable_after_shutdown)
551 TEST_DECLARE   (not_readable_nor_writable_on_read_error)
552 TEST_DECLARE   (readable_on_eof)
553 
554 #ifndef _WIN32
555 TEST_DECLARE  (fork_timer)
556 TEST_DECLARE  (fork_socketpair)
557 TEST_DECLARE  (fork_socketpair_started)
558 TEST_DECLARE  (fork_signal_to_child)
559 TEST_DECLARE  (fork_signal_to_child_closed)
560 TEST_DECLARE  (fork_close_signal_in_child)
561 #ifndef __APPLE__ /* This is forbidden in a fork child: The process has forked
562                      and you cannot use this CoreFoundation functionality
563                      safely. You MUST exec(). */
564 TEST_DECLARE  (fork_fs_events_child)
565 TEST_DECLARE  (fork_fs_events_child_dir)
566 TEST_DECLARE  (fork_fs_events_file_parent_child)
567 #endif
568 #ifndef __MVS__
569 TEST_DECLARE  (fork_threadpool_queue_work_simple)
570 #endif
571 #endif
572 
573 TEST_DECLARE  (iouring_pollhup)
574 
575 TEST_DECLARE  (wtf8)
576 TEST_DECLARE  (idna_toascii)
577 TEST_DECLARE  (utf8_decode1)
578 TEST_DECLARE  (utf8_decode1_overrun)
579 TEST_DECLARE  (uname)
580 
581 TEST_DECLARE  (metrics_info_check)
582 TEST_DECLARE  (metrics_pool_events)
583 TEST_DECLARE  (metrics_idle_time)
584 TEST_DECLARE  (metrics_idle_time_thread)
585 TEST_DECLARE  (metrics_idle_time_zero)
586 
587 TASK_LIST_START
588   TEST_ENTRY_CUSTOM (platform_output, 0, 1, 5000)
589 
590   TEST_ENTRY  (test_macros)
591   TEST_ENTRY  (close_order)
592   TEST_ENTRY  (run_once)
593   TEST_ENTRY  (run_nowait)
594   TEST_ENTRY  (loop_alive)
595   TEST_ENTRY  (loop_close)
596   TEST_ENTRY  (loop_instant_close)
597   TEST_ENTRY  (loop_stop)
598   TEST_ENTRY  (loop_stop_before_run)
599   TEST_ENTRY  (loop_update_time)
600   TEST_ENTRY  (loop_backend_timeout)
601   TEST_ENTRY  (loop_configure)
602   TEST_ENTRY  (default_loop_close)
603   TEST_ENTRY  (barrier_1)
604   TEST_ENTRY  (barrier_2)
605   TEST_ENTRY  (barrier_3)
606   TEST_ENTRY  (barrier_serial_thread)
607   TEST_ENTRY  (barrier_serial_thread_single)
608   TEST_ENTRY  (condvar_1)
609   TEST_ENTRY  (condvar_2)
610   TEST_ENTRY  (condvar_3)
611   TEST_ENTRY  (condvar_4)
612   TEST_ENTRY  (condvar_5)
613   TEST_ENTRY  (semaphore_1)
614   TEST_ENTRY  (semaphore_2)
615   TEST_ENTRY  (semaphore_3)
616 
617   TEST_ENTRY  (pipe_connect_bad_name)
618   TEST_ENTRY  (pipe_connect_to_file)
619   TEST_ENTRY  (pipe_connect_on_prepare)
620 
621   TEST_ENTRY  (pipe_server_close)
622 #ifndef _WIN32
623   TEST_ENTRY  (pipe_close_stdout_read_stdin)
624 #endif
625   /* Seems to be either about 0.5s or 5s, depending on the OS. */
626   TEST_ENTRY_CUSTOM (pipe_set_non_blocking, 0, 0, 20000)
627   TEST_ENTRY  (pipe_set_chmod)
628   TEST_ENTRY  (tty)
629 #ifdef _WIN32
630   TEST_ENTRY  (tty_raw)
631   TEST_ENTRY  (tty_empty_write)
632   TEST_ENTRY  (tty_large_write)
633   TEST_ENTRY  (tty_raw_cancel)
634   TEST_ENTRY  (tty_duplicate_vt100_fn_key)
635   TEST_ENTRY  (tty_duplicate_alt_modifier_key)
636   TEST_ENTRY  (tty_composing_character)
637   TEST_ENTRY  (tty_cursor_up)
638   TEST_ENTRY  (tty_cursor_down)
639   TEST_ENTRY  (tty_cursor_forward)
640   TEST_ENTRY  (tty_cursor_back)
641   TEST_ENTRY  (tty_cursor_next_line)
642   TEST_ENTRY  (tty_cursor_previous_line)
643   TEST_ENTRY  (tty_cursor_horizontal_move_absolute)
644   TEST_ENTRY  (tty_cursor_move_absolute)
645   TEST_ENTRY  (tty_hide_show_cursor)
646   TEST_ENTRY  (tty_set_cursor_shape)
647   TEST_ENTRY  (tty_erase)
648   TEST_ENTRY  (tty_erase_line)
649   TEST_ENTRY  (tty_set_style)
650   TEST_ENTRY  (tty_save_restore_cursor_position)
651   TEST_ENTRY  (tty_full_reset)
652   TEST_ENTRY  (tty_escape_sequence_processing)
653 #endif
654   TEST_ENTRY  (tty_file)
655   TEST_ENTRY  (tty_pty)
656   TEST_ENTRY  (stdio_over_pipes)
657   TEST_ENTRY  (stdio_emulate_iocp)
658   TEST_ENTRY  (ip6_pton)
659   TEST_ENTRY  (ip6_sin6_len)
660   TEST_ENTRY  (connect_unspecified)
661   TEST_ENTRY  (ipc_heavy_traffic_deadlock_bug)
662   TEST_ENTRY  (ipc_listen_before_write)
663   TEST_ENTRY  (ipc_listen_after_write)
664 #ifndef _WIN32
665   TEST_ENTRY  (ipc_send_recv_pipe)
666   TEST_ENTRY  (ipc_send_recv_pipe_inprocess)
667 #endif
668   TEST_ENTRY  (ipc_send_recv_tcp)
669   TEST_ENTRY  (ipc_send_recv_tcp_inprocess)
670   TEST_ENTRY  (ipc_tcp_connection)
671   TEST_ENTRY  (ipc_send_zero)
672 
673   TEST_ENTRY  (tcp_alloc_cb_fail)
674 
675   TEST_ENTRY  (tcp_ping_pong)
676   TEST_HELPER (tcp_ping_pong, tcp4_echo_server)
677 
678   TEST_ENTRY  (tcp_ping_pong_vec)
679   TEST_HELPER (tcp_ping_pong_vec, tcp4_echo_server)
680 
681   TEST_ENTRY  (tcp6_ping_pong)
682   TEST_HELPER (tcp6_ping_pong, tcp6_echo_server)
683 
684   TEST_ENTRY  (tcp6_ping_pong_vec)
685   TEST_HELPER (tcp6_ping_pong_vec, tcp6_echo_server)
686 
687   TEST_ENTRY  (pipe_ping_pong)
688   TEST_HELPER (pipe_ping_pong, pipe_echo_server)
689 
690   TEST_ENTRY  (pipe_ping_pong_vec)
691   TEST_HELPER (pipe_ping_pong_vec, pipe_echo_server)
692 
693   TEST_ENTRY  (delayed_accept)
694   TEST_ENTRY  (multiple_listen)
695 
696 #ifndef _WIN32
697   TEST_ENTRY  (tcp_write_after_connect)
698 #endif
699 
700 #ifdef __MVS__
701   TEST_ENTRY_CUSTOM (tcp_writealot, 0, 0, 20000)
702 #else
703   TEST_ENTRY  (tcp_writealot)
704 #endif
705   TEST_HELPER (tcp_writealot, tcp4_echo_server)
706 
707   TEST_ENTRY  (tcp_write_fail)
708   TEST_HELPER (tcp_write_fail, tcp4_echo_server)
709 
710   TEST_ENTRY  (tcp_try_write)
711   TEST_ENTRY  (tcp_write_in_a_row)
712   TEST_ENTRY  (tcp_try_write_error)
713 
714   TEST_ENTRY  (tcp_write_queue_order)
715 
716   TEST_ENTRY  (tcp_open)
717   TEST_HELPER (tcp_open, tcp4_echo_server)
718   TEST_ENTRY  (tcp_open_twice)
719   TEST_ENTRY  (tcp_open_bound)
720   TEST_ENTRY  (tcp_open_connected)
721   TEST_HELPER (tcp_open_connected, tcp4_echo_server)
722   TEST_ENTRY  (tcp_write_ready)
723   TEST_HELPER (tcp_write_ready, tcp4_echo_server)
724 
725   TEST_ENTRY  (tcp_shutdown_after_write)
726   TEST_HELPER (tcp_shutdown_after_write, tcp4_echo_server)
727 
728   TEST_ENTRY  (tcp_connect_error_after_write)
729   TEST_ENTRY  (tcp_bind_error_addrinuse_connect)
730   /* tcp4_echo_server steals the port. It needs to be a separate process
731    * because libuv sets setsockopt(SO_REUSEADDR) that lets you steal an
732    * existing bind if it originates from the same process.
733    */
734   TEST_HELPER (tcp_bind_error_addrinuse_connect, tcp4_echo_server)
735   TEST_ENTRY  (tcp_bind_error_addrinuse_listen)
736   TEST_ENTRY  (tcp_bind_error_addrnotavail_1)
737   TEST_ENTRY  (tcp_bind_error_addrnotavail_2)
738   TEST_ENTRY  (tcp_bind_error_fault)
739   TEST_ENTRY  (tcp_bind_error_inval)
740   TEST_ENTRY  (tcp_bind_localhost_ok)
741   TEST_ENTRY  (tcp_bind_invalid_flags)
742   TEST_ENTRY  (tcp_bind_writable_flags)
743   TEST_ENTRY  (tcp_bind_or_listen_error_after_close)
744   TEST_ENTRY  (tcp_listen_without_bind)
745   TEST_ENTRY  (tcp_connect_error_fault)
746   TEST_ENTRY  (tcp_connect6_error_fault)
747   TEST_ENTRY  (tcp_connect6_link_local)
748   TEST_ENTRY  (tcp_connect_timeout)
749   TEST_ENTRY  (tcp_local_connect_timeout)
750   TEST_ENTRY  (tcp6_local_connect_timeout)
751   TEST_ENTRY  (tcp_close_while_connecting)
752   TEST_ENTRY  (tcp_close_after_read_timeout)
753   TEST_ENTRY  (tcp_close)
754   TEST_ENTRY  (tcp_close_reset_accepted)
755   TEST_ENTRY  (tcp_close_reset_accepted_after_shutdown)
756   TEST_ENTRY  (tcp_close_reset_accepted_after_socket_shutdown)
757   TEST_ENTRY  (tcp_close_reset_client)
758   TEST_ENTRY  (tcp_close_reset_client_after_shutdown)
759   TEST_ENTRY  (tcp_create_early)
760   TEST_ENTRY  (tcp_create_early_bad_bind)
761   TEST_ENTRY  (tcp_create_early_bad_domain)
762   TEST_ENTRY  (tcp_create_early_accept)
763 #ifndef _WIN32
764   TEST_ENTRY  (tcp_close_accept)
765   TEST_ENTRY  (tcp_oob)
766 #endif
767   TEST_ENTRY  (tcp_flags)
768   TEST_ENTRY  (tcp_write_to_half_open_connection)
769   TEST_ENTRY  (tcp_unexpected_read)
770 
771   TEST_ENTRY  (tcp_read_stop)
772   TEST_HELPER (tcp_read_stop, tcp4_echo_server)
773 
774   TEST_ENTRY  (tcp_read_stop_start)
775 
776   TEST_ENTRY  (tcp_reuseport)
777 
778   TEST_ENTRY  (tcp_rst)
779   TEST_HELPER (tcp_rst, tcp4_echo_server)
780 
781   TEST_ENTRY  (tcp_bind6_error_addrinuse)
782   TEST_ENTRY  (tcp_bind6_error_addrnotavail)
783   TEST_ENTRY  (tcp_bind6_error_fault)
784   TEST_ENTRY  (tcp_bind6_error_inval)
785   TEST_ENTRY  (tcp_bind6_localhost_ok)
786 
787   TEST_ENTRY  (udp_alloc_cb_fail)
788   TEST_ENTRY  (udp_bind)
789   TEST_ENTRY  (udp_bind_reuseaddr)
790   TEST_ENTRY  (udp_connect)
791   TEST_ENTRY  (udp_connect6)
792   TEST_ENTRY  (udp_create_early)
793   TEST_ENTRY  (udp_create_early_bad_bind)
794   TEST_ENTRY  (udp_create_early_bad_domain)
795   TEST_ENTRY  (udp_send_and_recv)
796   TEST_ENTRY  (udp_send_hang_loop)
797   TEST_ENTRY  (udp_send_immediate)
798   TEST_ENTRY  (udp_send_unreachable)
799   TEST_ENTRY  (udp_dgram_too_big)
800   TEST_ENTRY  (udp_dual_stack)
801   TEST_ENTRY  (udp_ipv6_only)
802   TEST_ENTRY  (udp_options)
803   TEST_ENTRY  (udp_options6)
804   TEST_ENTRY  (udp_no_autobind)
805   TEST_ENTRY  (udp_mmsg)
806   TEST_ENTRY  (udp_multicast_interface)
807   TEST_ENTRY  (udp_multicast_interface6)
808   TEST_ENTRY  (udp_multicast_join)
809   TEST_ENTRY  (udp_multicast_join6)
810   TEST_ENTRY  (udp_multicast_ttl)
811   TEST_ENTRY  (udp_sendmmsg_error)
812   TEST_ENTRY  (udp_try_send)
813   TEST_ENTRY  (udp_recv_in_a_row)
814   TEST_ENTRY  (udp_reuseport)
815 
816   TEST_ENTRY  (udp_open)
817   TEST_ENTRY  (udp_open_twice)
818   TEST_ENTRY  (udp_open_bound)
819   TEST_ENTRY  (udp_open_connect)
820 #ifndef _WIN32
821   TEST_ENTRY  (udp_send_unix)
822 #endif
823 
824   TEST_ENTRY  (pipe_bind_error_addrinuse)
825   TEST_ENTRY  (pipe_bind_error_addrnotavail)
826   TEST_ENTRY  (pipe_bind_error_inval)
827   TEST_ENTRY  (pipe_connect_close_multiple)
828   TEST_ENTRY  (pipe_connect_multiple)
829   TEST_ENTRY  (pipe_listen_without_bind)
830   TEST_ENTRY  (pipe_bind_or_listen_error_after_close)
831   TEST_ENTRY  (pipe_overlong_path)
832   TEST_ENTRY  (pipe_getsockname)
833   TEST_ENTRY  (pipe_getsockname_abstract)
834   TEST_ENTRY  (pipe_getsockname_autobind)
835   TEST_ENTRY  (pipe_getsockname_blocking)
836   TEST_ENTRY  (pipe_pending_instances)
837   TEST_ENTRY  (pipe_sendmsg)
838 
839   TEST_ENTRY  (connection_fail)
840   TEST_ENTRY  (connection_fail_doesnt_auto_close)
841 
842   TEST_ENTRY  (shutdown_close_tcp)
843   TEST_HELPER (shutdown_close_tcp, tcp4_echo_server)
844   TEST_ENTRY  (shutdown_close_pipe)
845   TEST_HELPER (shutdown_close_pipe, pipe_echo_server)
846 
847   TEST_ENTRY  (shutdown_eof)
848   TEST_HELPER (shutdown_eof, tcp4_echo_server)
849 
850   TEST_ENTRY  (shutdown_simultaneous)
851   TEST_HELPER (shutdown_simultaneous, tcp4_echo_server)
852 
853   TEST_ENTRY  (shutdown_twice)
854   TEST_HELPER (shutdown_twice, tcp4_echo_server)
855 
856   TEST_ENTRY  (callback_stack)
857   TEST_HELPER (callback_stack, tcp4_echo_server)
858 
859   TEST_ENTRY  (env_vars)
860 
861   TEST_ENTRY  (error_message)
862   TEST_ENTRY  (sys_error)
863 
864   TEST_ENTRY  (timer)
865   TEST_ENTRY  (timer_init)
866   TEST_ENTRY  (timer_again)
867   TEST_ENTRY  (timer_start_twice)
868   TEST_ENTRY  (timer_order)
869   TEST_ENTRY  (timer_zero_timeout)
870   TEST_ENTRY  (timer_huge_timeout)
871   TEST_ENTRY  (timer_huge_repeat)
872   TEST_ENTRY  (timer_run_once)
873   TEST_ENTRY  (timer_from_check)
874   TEST_ENTRY  (timer_is_closing)
875   TEST_ENTRY  (timer_null_callback)
876   TEST_ENTRY  (timer_early_check)
877   TEST_ENTRY  (timer_no_double_call_once)
878   TEST_ENTRY  (timer_no_double_call_nowait)
879   TEST_ENTRY  (timer_no_run_on_unref)
880 
881   TEST_ENTRY  (idle_starvation)
882   TEST_ENTRY  (idle_check)
883 
884   TEST_ENTRY  (ref)
885   TEST_ENTRY  (idle_ref)
886   TEST_ENTRY  (fs_poll_ref)
887   TEST_ENTRY  (async_ref)
888   TEST_ENTRY  (prepare_ref)
889   TEST_ENTRY  (check_ref)
890   TEST_ENTRY  (unref_in_prepare_cb)
891   TEST_ENTRY  (timer_ref)
892   TEST_ENTRY  (timer_ref2)
893   TEST_ENTRY  (fs_event_ref)
894   TEST_ENTRY  (tcp_ref)
895   TEST_ENTRY  (tcp_ref2)
896   TEST_ENTRY  (tcp_ref2b)
897   TEST_ENTRY  (tcp_ref3)
898   TEST_HELPER (tcp_ref3, tcp4_echo_server)
899   TEST_ENTRY  (tcp_ref4)
900   TEST_HELPER (tcp_ref4, tcp4_echo_server)
901   TEST_ENTRY  (udp_ref)
902   TEST_ENTRY  (udp_ref2)
903   TEST_ENTRY  (udp_ref3)
904   TEST_HELPER (udp_ref3, udp4_echo_server)
905   TEST_ENTRY  (pipe_ref)
906   TEST_ENTRY  (pipe_ref2)
907   TEST_ENTRY  (pipe_ref3)
908   TEST_HELPER (pipe_ref3, pipe_echo_server)
909   TEST_ENTRY  (pipe_ref4)
910   TEST_HELPER (pipe_ref4, pipe_echo_server)
911   TEST_ENTRY  (process_ref)
912   TEST_ENTRY  (process_priority)
913   TEST_ENTRY  (has_ref)
914 
915   TEST_ENTRY  (loop_handles)
916   TEST_ENTRY  (walk_handles)
917 
918   TEST_ENTRY  (watcher_cross_stop)
919 
920   TEST_ENTRY  (active)
921 
922   TEST_ENTRY  (embed)
923 
924   TEST_ENTRY  (async)
925   TEST_ENTRY  (async_null_cb)
926   TEST_ENTRY  (eintr_handling)
927 
928   TEST_ENTRY  (get_currentexe)
929 
930   TEST_ENTRY  (process_title)
931   TEST_ENTRY  (process_title_big_argv)
932   TEST_ENTRY  (process_title_threadsafe)
933 
934   TEST_ENTRY  (cwd_and_chdir)
935 
936   TEST_ENTRY  (get_memory)
937 
938   TEST_ENTRY  (get_passwd)
939   TEST_ENTRY  (get_passwd2)
940   TEST_ENTRY  (get_group)
941 
942   TEST_ENTRY  (get_loadavg)
943 
944   TEST_ENTRY  (handle_fileno)
945 
946   TEST_ENTRY  (homedir)
947 
948   TEST_ENTRY  (tmpdir)
949 
950   TEST_ENTRY_CUSTOM (hrtime, 0, 0, 20000)
951 
952   TEST_ENTRY  (clock_gettime)
953 
954   TEST_ENTRY_CUSTOM (getaddrinfo_fail, 0, 0, 10000)
955   TEST_ENTRY_CUSTOM (getaddrinfo_fail_sync, 0, 0, 10000)
956 
957   TEST_ENTRY  (getaddrinfo_basic)
958   TEST_ENTRY  (getaddrinfo_basic_sync)
959   TEST_ENTRY  (getaddrinfo_concurrent)
960 
961   TEST_ENTRY  (gethostname)
962 
963   TEST_ENTRY  (getnameinfo_basic_ip4)
964   TEST_ENTRY  (getnameinfo_basic_ip4_sync)
965   TEST_ENTRY  (getnameinfo_basic_ip6)
966 
967   TEST_ENTRY  (getsockname_tcp)
968   TEST_ENTRY  (getsockname_udp)
969 
970   TEST_ENTRY  (gettimeofday)
971 
972   TEST_ENTRY  (poll_duplex)
973   TEST_ENTRY  (poll_unidirectional)
974   TEST_ENTRY  (poll_close)
975   TEST_ENTRY  (poll_bad_fdtype)
976 #if (defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))) && \
977     !defined(__sun)
978   TEST_ENTRY  (poll_oob)
979 #endif
980 
981 #ifdef __linux__
982   TEST_ENTRY  (poll_nested_epoll)
983 #endif
984 #ifdef UV_HAVE_KQUEUE
985   TEST_ENTRY  (poll_nested_kqueue)
986 #endif
987   TEST_ENTRY  (poll_multiple_handles)
988 
989   TEST_ENTRY  (socket_buffer_size)
990 
991   TEST_ENTRY  (spawn_fails)
992 #ifndef _WIN32
993   TEST_ENTRY  (spawn_fails_check_for_waitpid_cleanup)
994 #endif
995   TEST_ENTRY  (spawn_empty_env)
996   TEST_ENTRY  (spawn_exit_code)
997   TEST_ENTRY  (spawn_stdout)
998   TEST_ENTRY  (spawn_stdin)
999   TEST_ENTRY  (spawn_stdio_greater_than_3)
1000   TEST_ENTRY  (spawn_ignored_stdio)
1001   TEST_ENTRY  (spawn_and_kill)
1002   TEST_ENTRY  (spawn_detached)
1003   TEST_ENTRY  (spawn_and_kill_with_std)
1004   TEST_ENTRY  (spawn_and_ping)
1005   TEST_ENTRY  (spawn_preserve_env)
1006   TEST_ENTRY  (spawn_same_stdout_stderr)
1007   TEST_ENTRY  (spawn_setuid_fails)
1008   TEST_ENTRY  (spawn_setgid_fails)
1009   TEST_ENTRY  (spawn_stdout_to_file)
1010   TEST_ENTRY  (spawn_stdout_and_stderr_to_file)
1011   TEST_ENTRY  (spawn_stdout_and_stderr_to_file2)
1012   TEST_ENTRY  (spawn_stdout_and_stderr_to_file_swap)
1013   TEST_ENTRY  (spawn_auto_unref)
1014   TEST_ENTRY  (spawn_closed_process_io)
1015   TEST_ENTRY  (spawn_reads_child_path)
1016   TEST_ENTRY  (spawn_inherit_streams)
1017   TEST_ENTRY  (spawn_quoted_path)
1018   TEST_ENTRY  (spawn_tcp_server)
1019   TEST_ENTRY  (spawn_exercise_sigchld_issue)
1020   TEST_ENTRY  (spawn_relative_path)
1021   TEST_ENTRY  (fs_poll)
1022   TEST_ENTRY  (fs_poll_getpath)
1023   TEST_ENTRY  (fs_poll_close_request)
1024   TEST_ENTRY  (fs_poll_close_request_multi_start_stop)
1025   TEST_ENTRY  (fs_poll_close_request_multi_stop_start)
1026   TEST_ENTRY  (fs_poll_close_request_stop_when_active)
1027   TEST_ENTRY  (kill)
1028   TEST_ENTRY  (kill_invalid_signum)
1029 
1030   TEST_ENTRY  (poll_close_doesnt_corrupt_stack)
1031   TEST_ENTRY  (poll_closesocket)
1032   TEST_ENTRY  (close_fd)
1033   TEST_ENTRY  (closed_fd_events)
1034   TEST_ENTRY  (spawn_fs_open)
1035 #ifdef _WIN32
1036   TEST_ENTRY  (spawn_detect_pipe_name_collisions_on_windows)
1037 #if !defined(USING_UV_SHARED)
1038   TEST_ENTRY  (argument_escaping)
1039   TEST_ENTRY  (environment_creation)
1040 # endif
1041   TEST_ENTRY  (listen_with_simultaneous_accepts)
1042   TEST_ENTRY  (listen_no_simultaneous_accepts)
1043   TEST_ENTRY  (fs_stat_root)
1044   TEST_ENTRY  (spawn_with_an_odd_path)
1045   TEST_ENTRY  (spawn_no_path)
1046   TEST_ENTRY  (spawn_no_ext)
1047   TEST_ENTRY  (spawn_path_no_ext)
1048   TEST_ENTRY  (ipc_listen_after_bind_twice)
1049   TEST_ENTRY  (win32_signum_number)
1050 #else
1051   TEST_ENTRY  (emfile)
1052   TEST_ENTRY  (spawn_setuid_setgid)
1053   TEST_ENTRY  (we_get_signal)
1054   TEST_ENTRY  (we_get_signals)
1055   TEST_ENTRY  (we_get_signal_one_shot)
1056   TEST_ENTRY  (we_get_signals_mixed)
1057   TEST_ENTRY  (signal_multiple_loops)
1058   TEST_ENTRY  (signal_pending_on_close)
1059   TEST_ENTRY  (signal_close_loop_alive)
1060 #endif
1061 
1062 #ifdef __APPLE__
1063   TEST_ENTRY (osx_select)
1064   TEST_ENTRY (osx_select_many_fds)
1065 #endif
1066 
1067   TEST_ENTRY  (fs_file_noent)
1068   TEST_ENTRY  (fs_file_nametoolong)
1069   TEST_ENTRY  (fs_file_loop)
1070   TEST_ENTRY  (fs_file_async)
1071   TEST_ENTRY  (fs_file_sync)
1072   TEST_ENTRY  (fs_posix_delete)
1073   TEST_ENTRY  (fs_file_write_null_buffer)
1074   TEST_ENTRY  (fs_async_dir)
1075   TEST_ENTRY  (fs_async_sendfile)
1076   TEST_ENTRY  (fs_async_sendfile_nodata)
1077   TEST_ENTRY  (fs_mkdtemp)
1078   TEST_ENTRY  (fs_mkstemp)
1079   TEST_ENTRY  (fs_fstat)
1080   TEST_ENTRY  (fs_fstat_stdio)
1081   TEST_ENTRY  (fs_access)
1082   TEST_ENTRY  (fs_chmod)
1083   TEST_ENTRY  (fs_copyfile)
1084   TEST_ENTRY  (fs_unlink_readonly)
1085 #ifdef _WIN32
1086   TEST_ENTRY  (fs_unlink_archive_readonly)
1087 #endif
1088   TEST_ENTRY  (fs_chown)
1089   TEST_ENTRY  (fs_link)
1090   TEST_ENTRY  (fs_utime)
1091   TEST_ENTRY  (fs_utime_round)
1092   TEST_ENTRY  (fs_futime)
1093   TEST_ENTRY  (fs_lutime)
1094   TEST_ENTRY  (fs_readlink)
1095   TEST_ENTRY  (fs_realpath)
1096   TEST_ENTRY  (fs_symlink)
1097   TEST_ENTRY  (fs_symlink_dir)
1098 #ifdef _WIN32
1099   TEST_ENTRY  (fs_symlink_junction)
1100   TEST_ENTRY  (fs_non_symlink_reparse_point)
1101   TEST_ENTRY  (fs_lstat_windows_store_apps)
1102   TEST_ENTRY  (fs_open_flags)
1103 #endif
1104 #if defined(_WIN32) && !defined(USING_UV_SHARED)
1105   TEST_ENTRY  (fs_fd_hash)
1106 #endif
1107   TEST_ENTRY  (fs_statfs)
1108   TEST_ENTRY  (fs_stat_batch_multiple)
1109   TEST_ENTRY  (fs_stat_missing_path)
1110   TEST_ENTRY  (fs_read_bufs)
1111   TEST_ENTRY  (fs_read_file_eof)
1112   TEST_ENTRY  (fs_file_open_append)
1113   TEST_ENTRY  (fs_event_watch_dir)
1114   TEST_ENTRY  (fs_event_watch_delete_dir)
1115   TEST_ENTRY  (fs_event_watch_dir_recursive)
1116 #ifdef _WIN32
1117   TEST_ENTRY  (fs_event_watch_dir_short_path)
1118 #endif
1119   TEST_ENTRY  (fs_event_watch_file)
1120   TEST_ENTRY  (fs_event_watch_file_exact_path)
1121   TEST_ENTRY  (fs_event_watch_file_twice)
1122   TEST_ENTRY  (fs_event_watch_file_current_dir)
1123 #ifdef _WIN32
1124   TEST_ENTRY  (fs_event_watch_file_root_dir)
1125 #endif
1126   TEST_ENTRY  (fs_event_watch_invalid_path)
1127   TEST_ENTRY  (fs_event_no_callback_after_close)
1128   TEST_ENTRY  (fs_event_no_callback_on_close)
1129   TEST_ENTRY  (fs_event_immediate_close)
1130   TEST_ENTRY  (fs_event_close_with_pending_event)
1131   TEST_ENTRY  (fs_event_close_with_pending_delete_event)
1132   TEST_ENTRY  (fs_event_close_in_callback)
1133   TEST_ENTRY  (fs_event_start_and_close)
1134   TEST_ENTRY  (fs_event_getpath)
1135   TEST_ENTRY  (fs_event_stop_in_cb)
1136   TEST_ENTRY  (fs_scandir_empty_dir)
1137   TEST_ENTRY  (fs_scandir_non_existent_dir)
1138   TEST_ENTRY  (fs_scandir_file)
1139   TEST_ENTRY  (fs_scandir_early_exit)
1140   TEST_ENTRY  (fs_open_dir)
1141   TEST_ENTRY  (fs_readdir_empty_dir)
1142   TEST_ENTRY  (fs_readdir_file)
1143   TEST_ENTRY  (fs_readdir_non_empty_dir)
1144   TEST_ENTRY  (fs_readdir_non_existing_dir)
1145 #ifdef _WIN32
1146   TEST_ENTRY  (fs_readdir_symlink)
1147 #endif
1148   TEST_ENTRY  (fs_rename_to_existing_file)
1149   TEST_ENTRY  (fs_write_multiple_bufs)
1150   TEST_ENTRY  (fs_write_alotof_bufs)
1151   TEST_ENTRY  (fs_write_alotof_bufs_with_offset)
1152   TEST_ENTRY  (fs_partial_read)
1153   TEST_ENTRY  (fs_partial_write)
1154   TEST_ENTRY  (fs_read_write_null_arguments)
1155   TEST_ENTRY  (fs_file_pos_after_op_with_offset)
1156   TEST_ENTRY  (fs_null_req)
1157   TEST_ENTRY  (fs_read_dir)
1158 #ifdef _WIN32
1159   TEST_ENTRY  (fs_file_pos_write)
1160   TEST_ENTRY  (fs_file_pos_append)
1161   TEST_ENTRY  (fs_exclusive_sharing_mode)
1162   TEST_ENTRY  (fs_file_flag_no_buffering)
1163   TEST_ENTRY  (fs_open_readonly_acl)
1164   TEST_ENTRY  (fs_fchmod_archive_readonly)
1165   TEST_ENTRY  (fs_invalid_mkdir_name)
1166   TEST_ENTRY  (fs_wtf)
1167 #endif
1168   TEST_ENTRY  (fs_get_system_error)
1169   TEST_ENTRY  (get_osfhandle_valid_handle)
1170   TEST_ENTRY  (open_osfhandle_valid_handle)
1171   TEST_ENTRY  (strscpy)
1172   TEST_ENTRY  (strtok)
1173   TEST_ENTRY  (threadpool_queue_work_simple)
1174   TEST_ENTRY  (threadpool_queue_work_einval)
1175   TEST_ENTRY_CUSTOM (threadpool_multiple_event_loops, 0, 0, 60000)
1176   TEST_ENTRY  (threadpool_cancel_getaddrinfo)
1177   TEST_ENTRY  (threadpool_cancel_getnameinfo)
1178   TEST_ENTRY  (threadpool_cancel_random)
1179   TEST_ENTRY  (threadpool_cancel_work)
1180   TEST_ENTRY  (threadpool_cancel_fs)
1181   TEST_ENTRY  (threadpool_cancel_single)
1182   TEST_ENTRY  (threadpool_cancel_when_busy)
1183   TEST_ENTRY  (thread_local_storage)
1184   TEST_ENTRY  (thread_stack_size)
1185   TEST_ENTRY  (thread_stack_size_explicit)
1186   TEST_ENTRY  (thread_mutex)
1187   TEST_ENTRY  (thread_mutex_recursive)
1188   TEST_ENTRY  (thread_rwlock)
1189   TEST_ENTRY  (thread_rwlock_trylock)
1190   TEST_ENTRY  (thread_create)
1191   TEST_ENTRY  (thread_equal)
1192   TEST_ENTRY  (thread_affinity)
1193   TEST_ENTRY  (thread_priority)
1194   TEST_ENTRY  (dlerror)
1195   TEST_ENTRY  (ip4_addr)
1196   TEST_ENTRY  (ip6_addr_link_local)
1197   TEST_ENTRY  (ip_name)
1198 
1199   TEST_ENTRY  (queue_foreach_delete)
1200 
1201   TEST_ENTRY  (random_async)
1202   TEST_ENTRY  (random_sync)
1203 
1204   TEST_ENTRY  (handle_type_name)
1205   TEST_ENTRY  (req_type_name)
1206   TEST_ENTRY  (getters_setters)
1207 
1208 #ifndef _WIN32
1209   TEST_ENTRY  (fork_timer)
1210   TEST_ENTRY  (fork_socketpair)
1211   TEST_ENTRY  (fork_socketpair_started)
1212   TEST_ENTRY  (fork_signal_to_child)
1213   TEST_ENTRY  (fork_signal_to_child_closed)
1214   TEST_ENTRY  (fork_close_signal_in_child)
1215 #ifndef __APPLE__
1216   TEST_ENTRY  (fork_fs_events_child)
1217   TEST_ENTRY  (fork_fs_events_child_dir)
1218   TEST_ENTRY  (fork_fs_events_file_parent_child)
1219 #endif
1220 #ifndef __MVS__
1221   TEST_ENTRY  (fork_threadpool_queue_work_simple)
1222 #endif
1223 #endif
1224 
1225   TEST_ENTRY  (iouring_pollhup)
1226 
1227   TEST_ENTRY  (wtf8)
1228   TEST_ENTRY  (utf8_decode1)
1229   TEST_ENTRY  (utf8_decode1_overrun)
1230   TEST_ENTRY  (uname)
1231 
1232 /* Doesn't work on z/OS because that platform uses EBCDIC, not ASCII. */
1233 #ifndef __MVS__
1234   TEST_ENTRY  (idna_toascii)
1235 #endif
1236 
1237   TEST_ENTRY    (not_writable_after_shutdown)
1238   TEST_HELPER   (not_writable_after_shutdown, tcp4_echo_server)
1239   TEST_ENTRY    (not_readable_nor_writable_on_read_error)
1240   TEST_HELPER   (not_readable_nor_writable_on_read_error, tcp4_echo_server)
1241   TEST_ENTRY    (readable_on_eof)
1242   TEST_HELPER   (readable_on_eof, tcp4_echo_server)
1243 
1244   TEST_ENTRY  (metrics_info_check)
1245   TEST_ENTRY  (metrics_pool_events)
1246   TEST_ENTRY  (metrics_idle_time)
1247   TEST_ENTRY  (metrics_idle_time_thread)
1248   TEST_ENTRY  (metrics_idle_time_zero)
1249 
1250 #if 0
1251   /* These are for testing the test runner. */
1252   TEST_ENTRY  (fail_always)
1253   TEST_ENTRY  (pass_always)
1254 #endif
1255 TASK_LIST_END
1256