test-list.h 34 KB

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