Lines Matching refs:test_fd
70 static int test_fd; variable
113 test_fd = pipe_fds[0]; in setup()
114 if (fcntl(test_fd, F_SETFL, O_ASYNC) < 0) in setup()
131 TEST(fcntl(test_fd, F_GETOWN_EX, &orig_own_ex)); in setup()
140 TEST(fcntl(test_fd, F_GETOWN)); in setup()
160 TEST(fcntl(test_fd, F_SETOWN, pid)); in setown_pid_test()
167 TEST(fcntl(test_fd, F_SETOWN, orig_pid)); in setown_pid_test()
176 TEST(fcntl(test_fd, F_SETOWN, -pgrp_pid)); in setown_pgrp_test()
184 TEST(fcntl(test_fd, F_SETOWN, orig_pid)); in setown_pgrp_test()
194 TEST(fcntl(test_fd, F_SETOWN_EX, &orig_own_ex)); in setownex_cleanup()
213 TEST(fcntl(test_fd, F_SETOWN_EX, &tst_own_ex)); in setownex_tid_test()
235 TEST(fcntl(test_fd, F_SETOWN_EX, &tst_own_ex)); in setownex_pid_test()
258 TEST(fcntl(test_fd, F_SETOWN_EX, &tst_own_ex)); in setownex_pgrp_test()
274 TEST(fcntl(test_fd, F_GETSIG)); in test_set_and_get_sig()
284 TEST(fcntl(test_fd, F_SETSIG, sig)); in test_set_and_get_sig()
290 TEST(fcntl(test_fd, F_GETSIG)); in test_set_and_get_sig()
303 TEST(fcntl(test_fd, F_SETSIG, orig_sig)); in test_set_and_get_sig()
375 SAFE_READ(cleanup, 1, test_fd, &c, 1); in check_io_signal()