Lines Matching refs:status
55 int status; in ~ChildGuard() local
56 TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); in ~ChildGuard()
181 int status; in run_watchpoint_test() local
182 ASSERT_EQ(child, TEMP_FAILURE_RETRY(waitpid(child, &status, __WALL))) << strerror(errno); in run_watchpoint_test()
183 ASSERT_TRUE(WIFSTOPPED(status)) << "Status was: " << status; in run_watchpoint_test()
184 ASSERT_EQ(SIGSTOP, WSTOPSIG(status)) << "Status was: " << status; in run_watchpoint_test()
194 ASSERT_EQ(child, TEMP_FAILURE_RETRY(waitpid(child, &status, __WALL))) << strerror(errno); in run_watchpoint_test()
195 ASSERT_TRUE(WIFSTOPPED(status)) << "Status was: " << status; in run_watchpoint_test()
196 ASSERT_EQ(SIGTRAP, WSTOPSIG(status)) << "Status was: " << status; in run_watchpoint_test()
355 int status; in TEST() local
356 ASSERT_EQ(child, TEMP_FAILURE_RETRY(waitpid(child, &status, __WALL))) << strerror(errno); in TEST()
357 ASSERT_TRUE(WIFSTOPPED(status)) << "Status was: " << status; in TEST()
358 ASSERT_EQ(SIGSTOP, WSTOPSIG(status)) << "Status was: " << status; in TEST()
368 ASSERT_EQ(child, TEMP_FAILURE_RETRY(waitpid(child, &status, __WALL))) << strerror(errno); in TEST()
369 ASSERT_TRUE(WIFSTOPPED(status)) << "Status was: " << status; in TEST()
370 ASSERT_EQ(SIGTRAP, WSTOPSIG(status)) << "Status was: " << status; in TEST()
503 int status; in wait_for_ptrace_stop() local
504 pid_t rc = TEMP_FAILURE_RETRY(waitpid(pid, &status, __WALL)); in wait_for_ptrace_stop()
508 if (WIFSTOPPED(status)) { in wait_for_ptrace_stop()