Lines Matching +full:tcs +full:- +full:wait

39 #include <atf-c++.hpp>
56 /// Set to the signal that fired; -1 if none.
57 static volatile int fired_signal = -1;
68 PRE(fired_signal == -1 || fired_signal == signo); in signal_handler()
80 // a SIGKILL that we cannot handle, not just any non-deadly signal. in pause_child()
100 fired_signal = -1; in check_interrupts_handler()
133 ATF_REQUIRE_EQ(-1, fired_signal); in check_interrupts_handler()
154 ATF_REQUIRE_EQ(-1, fired_signal); in check_interrupts_inhibiter()
157 ATF_REQUIRE_EQ(-1, fired_signal); in check_interrupts_inhibiter()
213 // ourselves will cause the signal to be re-delivered to our children due to in ATF_TEST_CASE_BODY()
214 // the interrupts_handler semantics. If this does not happen, the wait in ATF_TEST_CASE_BODY()
218 const process::status status1 = child1->wait(); in ATF_TEST_CASE_BODY()
221 const process::status status2 = child2->wait(); in ATF_TEST_CASE_BODY()
255 ATF_INIT_TEST_CASES(tcs) in ATF_INIT_TEST_CASES() argument
257 ATF_ADD_TEST_CASE(tcs, interrupts_handler__sighup); in ATF_INIT_TEST_CASES()
258 ATF_ADD_TEST_CASE(tcs, interrupts_handler__sigint); in ATF_INIT_TEST_CASES()
259 ATF_ADD_TEST_CASE(tcs, interrupts_handler__sigterm); in ATF_INIT_TEST_CASES()
260 ATF_ADD_TEST_CASE(tcs, interrupts_handler__kill_children); in ATF_INIT_TEST_CASES()
262 ATF_ADD_TEST_CASE(tcs, interrupts_inhibiter__sigalrm); in ATF_INIT_TEST_CASES()
263 ATF_ADD_TEST_CASE(tcs, interrupts_inhibiter__sighup); in ATF_INIT_TEST_CASES()
264 ATF_ADD_TEST_CASE(tcs, interrupts_inhibiter__sigint); in ATF_INIT_TEST_CASES()
265 ATF_ADD_TEST_CASE(tcs, interrupts_inhibiter__sigterm); in ATF_INIT_TEST_CASES()