Lines Matching refs:status
114 int status; in signal_handler() local
133 killed = waitpid (test_pid, &status, WNOHANG|WUNTRACED); in signal_handler()
161 if (killed == 0 || (WIFSIGNALED (status) && WTERMSIG (status) == SIGKILL)) in signal_handler()
163 else if (WIFSTOPPED (status)) in signal_handler()
165 strsignal (WSTOPSIG (status))); in signal_handler()
166 else if (WIFSIGNALED (status)) in signal_handler()
168 strsignal (WTERMSIG (status))); in signal_handler()
171 WEXITSTATUS (status)); in signal_handler()
262 adjust_exit_status (int status) in adjust_exit_status() argument
265 return support_report_failure (status); in adjust_exit_status()
266 return status; in adjust_exit_status()
287 int status; in support_test_main() local
459 termpid = TEMP_FAILURE_RETRY (waitpid (test_pid, &status, 0)); in support_test_main()
473 if (WIFEXITED (status)) in support_test_main()
479 return adjust_exit_status (WEXITSTATUS (status)); in support_test_main()
490 if (WEXITSTATUS (status) != config->expected_status) in support_test_main()
493 config->expected_status, WEXITSTATUS (status)); in support_test_main()
505 strsignal (WTERMSIG (status))); in support_test_main()
508 else if (WTERMSIG (status) != config->expected_signal) in support_test_main()
511 strsignal (WTERMSIG (status)), in support_test_main()