Home
last modified time | relevance | path

Searched refs:stdout_file (Results 1 – 3 of 3) sorted by relevance

/libuv/test/
H A Drunner-unix.c86 FILE* stdout_file; in process_start() local
115 stdout_file = tmpfile(); in process_start()
116 stdout_fd = fileno(stdout_file); in process_start()
117 if (!stdout_file) { in process_start()
165 p->stdout_file = stdout_file; in process_start()
358 int r = fstat(fileno(p->stdout_file), &buf); in process_output_size()
372 r = fseek(p->stdout_file, 0, SEEK_SET); in process_copy_output()
382 if (ferror(p->stdout_file)) { in process_copy_output()
397 int r = fseek(p->stdout_file, 0, SEEK_SET); in process_read_last_line()
411 if (ferror(p->stdout_file)) { in process_read_last_line()
[all …]
H A Drunner-unix.h29 FILE* stdout_file; member
H A Dtest-spawn.c494 uv_file stdout_file; in TEST_IMPL() local
515 stdout_file = dup2(r, STDOUT_FILENO); in TEST_IMPL()
516 ASSERT_NE(stdout_file, -1); in TEST_IMPL()
533 options.stdio[2].data.fd = stdout_file; in TEST_IMPL()
548 r = uv_fs_read(NULL, &fs_req, stdout_file, &buf, 1, 0, NULL); in TEST_IMPL()
552 r = uv_fs_close(NULL, &fs_req, stdout_file, NULL); in TEST_IMPL()

Completed in 13 milliseconds