Home | History | Annotate | Download | only in tests

Lines Matching defs:status

39    int status;
62 ret = waitpid(killer, &status, 0);
70 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
71 fprintf(stderr, "kill %d failed status=%s %d\n", killer,
72 WIFEXITED(status) ? "exit" : "signal",
73 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status));
81 int status;
123 if (waitpid(pid, &status, 0) != pid) {
126 } else if (!WIFSIGNALED(status) || WTERMSIG(status) != fatalsig) {
127 fprintf(stderr, "FAILED: child exited with unexpected status %s %d\n",
128 WIFEXITED(status) ? "exit" : "signal",
129 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status));