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


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:30