Lines Matching refs:status
167 const process::status status = child->wait(); in check_exec_no_args() local
168 ATF_REQUIRE(status.exited()); in check_exec_no_args()
169 ATF_REQUIRE_EQ(EXIT_FAILURE, status.exitstatus()); in check_exec_no_args()
189 const process::status status = child->wait(); in check_exec_some_args() local
190 ATF_REQUIRE(status.exited()); in check_exec_some_args()
191 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in check_exec_some_args()
221 const process::status status = child->wait(); in ATF_TEST_CASE_BODY() local
222 ATF_REQUIRE(status.signaled()); in ATF_TEST_CASE_BODY()
223 ATF_REQUIRE_EQ(SIGABRT, status.termsig()); in ATF_TEST_CASE_BODY()
296 int status; in ATF_TEST_CASE_BODY() local
297 ATF_REQUIRE(::wait(&status) != -1); in ATF_TEST_CASE_BODY()
298 ATF_REQUIRE(WIFSIGNALED(status)); in ATF_TEST_CASE_BODY()
299 ATF_REQUIRE(WTERMSIG(status) == SIGKILL); in ATF_TEST_CASE_BODY()
317 int status; in ATF_TEST_CASE_BODY() local
318 ATF_REQUIRE(::wait(&status) != -1); in ATF_TEST_CASE_BODY()
319 ATF_REQUIRE(WIFSIGNALED(status)); in ATF_TEST_CASE_BODY()
320 ATF_REQUIRE(WTERMSIG(status) == SIGKILL); in ATF_TEST_CASE_BODY()
330 const process::status status = process::status::fake_exited(123); in ATF_TEST_CASE_BODY() local
331 process::terminate_self_with(status); in ATF_TEST_CASE_BODY()
334 int status; in ATF_TEST_CASE_BODY() local
335 ATF_REQUIRE(::wait(&status) != -1); in ATF_TEST_CASE_BODY()
336 ATF_REQUIRE(WIFEXITED(status)); in ATF_TEST_CASE_BODY()
337 ATF_REQUIRE(WEXITSTATUS(status) == 123); in ATF_TEST_CASE_BODY()
347 const process::status status = process::status::fake_signaled( in ATF_TEST_CASE_BODY() local
349 process::terminate_self_with(status); in ATF_TEST_CASE_BODY()
352 int status; in ATF_TEST_CASE_BODY() local
353 ATF_REQUIRE(::wait(&status) != -1); in ATF_TEST_CASE_BODY()
354 ATF_REQUIRE(WIFSIGNALED(status)); in ATF_TEST_CASE_BODY()
355 ATF_REQUIRE(WTERMSIG(status) == SIGKILL); in ATF_TEST_CASE_BODY()
356 ATF_REQUIRE(!WCOREDUMP(status)); in ATF_TEST_CASE_BODY()
368 const process::status status = process::status::fake_signaled( in ATF_TEST_CASE_BODY() local
370 process::terminate_self_with(status); in ATF_TEST_CASE_BODY()
373 int status; in ATF_TEST_CASE_BODY() local
374 ATF_REQUIRE(::wait(&status) != -1); in ATF_TEST_CASE_BODY()
375 ATF_REQUIRE(WIFSIGNALED(status)); in ATF_TEST_CASE_BODY()
376 ATF_REQUIRE(WTERMSIG(status) == SIGABRT); in ATF_TEST_CASE_BODY()
377 ATF_REQUIRE(WCOREDUMP(status)); in ATF_TEST_CASE_BODY()
389 const process::status status = process::wait(pid); in ATF_TEST_CASE_BODY() local
390 ATF_REQUIRE(status.exited()); in ATF_TEST_CASE_BODY()
391 ATF_REQUIRE_EQ(15, status.exitstatus()); in ATF_TEST_CASE_BODY()
407 const process::status status = process::wait_any(); in ATF_TEST_CASE_BODY() local
408 ATF_REQUIRE(status.exited()); in ATF_TEST_CASE_BODY()
409 ATF_REQUIRE_EQ(15, status.exitstatus()); in ATF_TEST_CASE_BODY()
422 const process::status status = process::wait_any(); in ATF_TEST_CASE_BODY() local
423 ATF_REQUIRE(status.exited()); in ATF_TEST_CASE_BODY()
424 exit_codes.insert(status.exitstatus()); in ATF_TEST_CASE_BODY()
439 const process::status status = process::wait_any(); in ATF_TEST_CASE_BODY() local