Lines Matching refs:test_name
60 const char *test_name = "pidfd_send_signal send SIGUSR1"; in test_pidfd_send_signal_simple_success() local
65 test_name); in test_pidfd_send_signal_simple_success()
73 test_name); in test_pidfd_send_signal_simple_success()
81 test_name); in test_pidfd_send_signal_simple_success()
85 test_name); in test_pidfd_send_signal_simple_success()
88 ksft_test_result_pass("%s test: Sent signal\n", test_name); in test_pidfd_send_signal_simple_success()
97 const char *test_name = "pidfd_send_signal signal exited process"; in test_pidfd_send_signal_exited_fail() local
102 test_name); in test_pidfd_send_signal_exited_fail()
109 test_name); in test_pidfd_send_signal_exited_fail()
124 test_name); in test_pidfd_send_signal_exited_fail()
132 test_name); in test_pidfd_send_signal_exited_fail()
137 test_name, saved_errno); in test_pidfd_send_signal_exited_fail()
140 test_name); in test_pidfd_send_signal_exited_fail()
156 const char *test_name = "pidfd_send_signal signal recycled pid"; in test_pidfd_send_signal_recycled_pid_fail() local
161 test_name); in test_pidfd_send_signal_recycled_pid_fail()
169 test_name); in test_pidfd_send_signal_recycled_pid_fail()
173 test_name); in test_pidfd_send_signal_recycled_pid_fail()
180 test_name); in test_pidfd_send_signal_recycled_pid_fail()
184 test_name); in test_pidfd_send_signal_recycled_pid_fail()
190 test_name); in test_pidfd_send_signal_recycled_pid_fail()
196 test_name); in test_pidfd_send_signal_recycled_pid_fail()
329 test_name, PID_RECYCLE); in test_pidfd_send_signal_recycled_pid_fail()
332 test_name, PID_RECYCLE); in test_pidfd_send_signal_recycled_pid_fail()
334 ksft_test_result_skip("%s test: Skipping test\n", test_name); in test_pidfd_send_signal_recycled_pid_fail()
340 test_name); in test_pidfd_send_signal_recycled_pid_fail()
345 test_name); in test_pidfd_send_signal_recycled_pid_fail()
354 const char *test_name = "pidfd_send_signal check for support"; in test_pidfd_send_signal_syscall_support() local
360 test_name); in test_pidfd_send_signal_syscall_support()
367 test_name); in test_pidfd_send_signal_syscall_support()
371 test_name); in test_pidfd_send_signal_syscall_support()
378 test_name); in test_pidfd_send_signal_syscall_support()
395 static void poll_pidfd(const char *test_name, int pidfd) in poll_pidfd() argument
404 test_name, errno); in poll_pidfd()
412 test_name, errno); in poll_pidfd()
419 test_name, c, events[0].events, errno); in poll_pidfd()
448 const char *test_name = "pidfd_poll check for premature notification on child thread exec"; in test_pidfd_poll_exec() local
454 test_name, pid, errno); in test_pidfd_poll_exec()
466 poll_pidfd(test_name, pidfd); in test_pidfd_poll_exec()
476 ksft_exit_fail_msg("%s test: Failed\n", test_name); in test_pidfd_poll_exec()
478 ksft_test_result_pass("%s test: Passed\n", test_name); in test_pidfd_poll_exec()
513 const char *test_name = "pidfd_poll check for premature notification on non-empty" in test_pidfd_poll_leader_exit() local
521 test_name, errno); in test_pidfd_poll_leader_exit()
527 test_name, pid, errno); in test_pidfd_poll_leader_exit()
542 poll_pidfd(test_name, pidfd); in test_pidfd_poll_leader_exit()
556 ksft_exit_fail_msg("%s test: Failed\n", test_name); in test_pidfd_poll_leader_exit()
558 ksft_test_result_pass("%s test: Passed\n", test_name); in test_pidfd_poll_leader_exit()