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