Lines Matching refs:ASSERT_OK
72 ASSERT_OK(term_signal); in exit_cb()
94 ASSERT_OK(exit_status); in kill_cb()
149 ASSERT_OK(status); in write_cb()
155 ASSERT_OK(status); in write_null_cb()
162 ASSERT_OK(r); in init_process_options()
195 ASSERT_OK(uv_is_active((uv_handle_t*) &process)); in TEST_IMPL()
197 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
215 ASSERT_OK(uv_is_active((uv_handle_t*) &process)); in TEST_IMPL()
216 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
227 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
253 ASSERT_OK(uv_spawn(uv_default_loop(), &process, &options)); in TEST_IMPL()
254 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
270 ASSERT_OK(r); in TEST_IMPL()
273 ASSERT_OK(r); in TEST_IMPL()
298 ASSERT_OK(r); in TEST_IMPL()
301 ASSERT_OK(r); in TEST_IMPL()
304 ASSERT_OK(r); in TEST_IMPL()
309 ASSERT_OK(strcmp("hello world\n", output)); in TEST_IMPL()
342 ASSERT_OK(r); in TEST_IMPL()
345 ASSERT_OK(r); in TEST_IMPL()
356 ASSERT_OK(r); in TEST_IMPL()
360 ASSERT_OK(strcmp("hello world\n", output)); in TEST_IMPL()
398 ASSERT_OK(r); in TEST_IMPL()
401 ASSERT_OK(r); in TEST_IMPL()
412 ASSERT_OK(r); in TEST_IMPL()
416 ASSERT_OK(strcmp("hello world\nhello errworld\n", output)); in TEST_IMPL()
460 ASSERT_OK(r); in TEST_IMPL()
463 ASSERT_OK(r); in TEST_IMPL()
474 ASSERT_OK(r); in TEST_IMPL()
478 ASSERT_OK(strcmp("hello world\nhello errworld\n", output)); in TEST_IMPL()
537 ASSERT_OK(r); in TEST_IMPL()
540 ASSERT_OK(r); in TEST_IMPL()
553 ASSERT_OK(r); in TEST_IMPL()
557 ASSERT_OK(strncmp("hello errworld\n", output, 15)); in TEST_IMPL()
565 ASSERT_OK(r); in TEST_IMPL()
569 ASSERT_OK(strncmp("hello world\n", output, 12)); in TEST_IMPL()
604 ASSERT_OK(r); in TEST_IMPL()
609 ASSERT_OK(r); in TEST_IMPL()
612 ASSERT_OK(r); in TEST_IMPL()
615 ASSERT_OK(r); in TEST_IMPL()
619 ASSERT_OK(strcmp(buffer, output)); in TEST_IMPL()
643 ASSERT_OK(r); in TEST_IMPL()
646 ASSERT_OK(r); in TEST_IMPL()
649 ASSERT_OK(r); in TEST_IMPL()
654 ASSERT_OK(strcmp("fourth stdio!\n", output)); in TEST_IMPL()
667 ASSERT_OK(r); in spawn_tcp_server_helper()
675 ASSERT_OK(r); in spawn_tcp_server_helper()
681 ASSERT_OK(r); in spawn_tcp_server_helper()
698 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
702 ASSERT_OK(r); in TEST_IMPL()
704 ASSERT_OK(r); in TEST_IMPL()
711 ASSERT_OK(r); in TEST_IMPL()
726 ASSERT_OK(r); in TEST_IMPL()
729 ASSERT_OK(r); in TEST_IMPL()
748 ASSERT_OK(r); in TEST_IMPL()
751 ASSERT_OK(r); in TEST_IMPL()
767 ASSERT_OK(r); in TEST_IMPL()
770 ASSERT_OK(r); in TEST_IMPL()
773 ASSERT_OK(r); in TEST_IMPL()
776 ASSERT_OK(r); in TEST_IMPL()
801 ASSERT_OK(r); in TEST_IMPL()
807 ASSERT_OK(r); in TEST_IMPL()
810 ASSERT_OK(r); in TEST_IMPL()
813 ASSERT_OK(r); in TEST_IMPL()
819 ASSERT_OK(strcmp("testval", output)); in TEST_IMPL()
834 ASSERT_OK(r); in TEST_IMPL()
839 ASSERT_OK(r); in TEST_IMPL()
841 ASSERT_OK(exit_cb_called); in TEST_IMPL()
846 ASSERT_OK(r); in TEST_IMPL()
849 ASSERT_OK(r); in TEST_IMPL()
867 ASSERT_OK(r); in TEST_IMPL()
870 ASSERT_OK(r); in TEST_IMPL()
873 ASSERT_OK(r); in TEST_IMPL()
885 ASSERT_OK(r); in TEST_IMPL()
889 ASSERT_OK(r); in TEST_IMPL()
892 ASSERT_OK(r); in TEST_IMPL()
895 ASSERT_OK(r); in TEST_IMPL()
898 ASSERT_OK(r); in TEST_IMPL()
901 ASSERT_OK(r); in TEST_IMPL()
904 ASSERT_OK(r); in TEST_IMPL()
934 ASSERT_OK(r); in TEST_IMPL()
940 ASSERT_OK(r); in TEST_IMPL()
943 ASSERT_OK(r); in TEST_IMPL()
946 ASSERT_OK(r); in TEST_IMPL()
948 ASSERT_OK(exit_cb_called); in TEST_IMPL()
951 ASSERT_OK(r); in TEST_IMPL()
954 ASSERT_OK(strcmp(output, "TEST")); in TEST_IMPL()
981 ASSERT_OK(r); in TEST_IMPL()
987 ASSERT_OK(r); in TEST_IMPL()
990 ASSERT_OK(r); in TEST_IMPL()
993 ASSERT_OK(r); in TEST_IMPL()
995 ASSERT_OK(exit_cb_called); in TEST_IMPL()
998 ASSERT_OK(r); in TEST_IMPL()
1001 ASSERT_OK(strcmp(output, "TEST")); in TEST_IMPL()
1025 ASSERT_OK(uv_spawn(uv_default_loop(), &process, &options)); in TEST_IMPL()
1028 ASSERT_OK(uv_write(&write_req, (uv_stream_t*) &in, &buf, 1, write_cb)); in TEST_IMPL()
1030 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
1055 ASSERT_OK(pthread_sigmask(SIG_BLOCK, &set, NULL)); in TEST_IMPL()
1061 ASSERT_OK(r); in TEST_IMPL()
1068 ASSERT_OK(pthread_sigmask(SIG_UNBLOCK, &set, NULL)); in TEST_IMPL()
1077 ASSERT_OK(r); in TEST_IMPL()
1081 ASSERT_OK(r); in TEST_IMPL()
1084 ASSERT_OK(r); in TEST_IMPL()
1128 ASSERT_OK(r); in TEST_IMPL()
1131 ASSERT_OK(r); in TEST_IMPL()
1134 ASSERT_OK(r); in TEST_IMPL()
1139 ASSERT_OK(strcmp("hello world\n", output)); in TEST_IMPL()
1203 ASSERT_OK(wcscmp(test_str[i], cracked[i])); in TEST_IMPL()
1213 ASSERT_OK(result); in TEST_IMPL()
1215 ASSERT_OK(result); in TEST_IMPL()
1220 ASSERT_OK(wcscmp(verbatim_output, in TEST_IMPL()
1223 ASSERT_OK(wcscmp(non_verbatim_output, in TEST_IMPL()
1309 ASSERT_OK(result); in TEST_IMPL()
1365 ASSERT_OK(uv_is_active((uv_handle_t*) &process)); in TEST_IMPL()
1367 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
1389 ASSERT_OK(uv_spawn(uv_default_loop(), &process, &options)); in TEST_IMPL()
1390 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
1412 ASSERT_OK(uv_spawn(uv_default_loop(), &process, &options)); in TEST_IMPL()
1413 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
1454 ASSERT_OK(uv_is_active((uv_handle_t*) &process)); in TEST_IMPL()
1456 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
1493 ASSERT_OK(r); in TEST_IMPL()
1496 ASSERT_OK(r); in TEST_IMPL()
1519 ASSERT_OK(setgid(pw->pw_gid)); in TEST_IMPL()
1520 ASSERT_OK(setuid(pw->pw_uid)); in TEST_IMPL()
1550 ASSERT_OK(r); in TEST_IMPL()
1552 ASSERT_OK(close_cb_called); in TEST_IMPL()
1570 ASSERT_OK(setgid(pw->pw_gid)); in TEST_IMPL()
1571 ASSERT_OK(setuid(pw->pw_uid)); in TEST_IMPL()
1595 ASSERT_OK(r); in TEST_IMPL()
1597 ASSERT_OK(close_cb_called); in TEST_IMPL()
1626 ASSERT_OK(r); in TEST_IMPL()
1628 ASSERT_OK(close_cb_called); in TEST_IMPL()
1647 ASSERT_OK(r); in TEST_IMPL()
1649 ASSERT_OK(close_cb_called); in TEST_IMPL()
1659 ASSERT_OK(uv_spawn(uv_default_loop(), &process, &options)); in TEST_IMPL()
1660 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
1661 ASSERT_OK(uv_is_closing((uv_handle_t*) &process)); in TEST_IMPL()
1663 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
1695 ASSERT_OK(uv_pipe_init(uv_default_loop(), &in, 0)); in TEST_IMPL()
1716 ASSERT_OK(uv_spawn(uv_default_loop(), &process, &options)); in TEST_IMPL()
1719 ASSERT_OK(uv_write(&write_req, in TEST_IMPL()
1726 ASSERT_OK(uv_write(&write_req2, (uv_stream_t*) &in, &buf, 1, write_cb)); in TEST_IMPL()
1728 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
1729 ASSERT_OK(uv_fs_close(NULL, &fs_req, r, NULL)); in TEST_IMPL()
1748 ASSERT_OK(uv_pipe(fd, 0, 0)); in TEST_IMPL()
1761 ASSERT_OK(uv_spawn(uv_default_loop(), &process, &options)); in TEST_IMPL()
1765 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_handle, 0)); in TEST_IMPL()
1766 ASSERT_OK(uv_pipe_open(&pipe_handle, fd[0])); in TEST_IMPL()
1770 ASSERT_OK(uv_read_start((uv_stream_t*) &pipe_handle, in TEST_IMPL()
1778 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
1790 ASSERT_OK(uv_timer_init(uv_default_loop(), &timer)); in TEST_IMPL()
1791 ASSERT_OK(uv_timer_start(&timer, timer_counter_cb, 10, 0)); in TEST_IMPL()
1796 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
1801 ASSERT_OK(uv_process_kill(&process, SIGTERM)); in TEST_IMPL()
1803 ASSERT_OK(_close(fd[1])); in TEST_IMPL()
1805 ASSERT_OK(close(fd[1])); in TEST_IMPL()
1870 ASSERT_OK(r); in TEST_IMPL()
1873 ASSERT_OK(r); in TEST_IMPL()
1902 ASSERT_OK(uv_pipe_init(loop, &pipe_stdin_child, 0)); in TEST_IMPL()
1903 ASSERT_OK(uv_pipe_init(loop, &pipe_stdout_child, 0)); in TEST_IMPL()
1904 ASSERT_OK(uv_pipe_init(loop, &pipe_stdin_parent, 0)); in TEST_IMPL()
1905 ASSERT_OK(uv_pipe_init(loop, &pipe_stdout_parent, 0)); in TEST_IMPL()
1907 ASSERT_OK(uv_pipe(fds_stdin, 0, 0)); in TEST_IMPL()
1908 ASSERT_OK(uv_pipe(fds_stdout, 0, 0)); in TEST_IMPL()
1910 ASSERT_OK(uv_pipe_open(&pipe_stdin_child, fds_stdin[0])); in TEST_IMPL()
1911 ASSERT_OK(uv_pipe_open(&pipe_stdout_child, fds_stdout[1])); in TEST_IMPL()
1912 ASSERT_OK(uv_pipe_open(&pipe_stdin_parent, fds_stdin[1])); in TEST_IMPL()
1913 ASSERT_OK(uv_pipe_open(&pipe_stdout_parent, fds_stdout[0])); in TEST_IMPL()
1933 ASSERT_OK(uv_spawn(loop, &child_req, &options)); in TEST_IMPL()
1948 ASSERT_OK(r); in TEST_IMPL()
1951 ASSERT_OK(r); in TEST_IMPL()
1954 ASSERT_OK(r); in TEST_IMPL()
1960 ASSERT_OK(r); in TEST_IMPL()
2001 ASSERT_OK(r); in TEST_IMPL()
2020 ASSERT_OK(r); in TEST_IMPL()
2088 ASSERT_OK(uv_exepath(exepath, &exepath_size)); in TEST_IMPL()
2106 ASSERT_OK(uv_spawn(uv_default_loop(), &process, &options)); in TEST_IMPL()
2107 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()