Lines Matching refs:test_pid
88 static pid_t test_pid; variable
123 assert (test_pid > 1); in signal_handler()
125 kill (-test_pid, SIGKILL); in signal_handler()
127 kill (test_pid, SIGKILL); in signal_handler()
133 killed = waitpid (test_pid, &status, WNOHANG|WUNTRACED); in signal_handler()
146 if (killed != 0 && killed != test_pid) in signal_handler()
422 test_pid = fork (); in support_test_main()
423 if (test_pid == 0) in support_test_main()
445 else if (test_pid < 0) in support_test_main()
459 termpid = TEMP_FAILURE_RETRY (waitpid (test_pid, &status, 0)); in support_test_main()
465 if (termpid != test_pid) in support_test_main()
468 (long int) test_pid, (long int) termpid); in support_test_main()