Lines Matching +full:wait +full:- +full:on +full:- +full:read

1 /*-
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 #include <atf-c.h>
55 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY()
61 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY()
68 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY()
74 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY()
87 /* check that we can read the signal number back */ in ATF_TC_BODY()
101 /* request a signal on parent death in the parent */ in ATF_TC_BODY()
106 ATF_REQUIRE(rc != -1); in ATF_TC_BODY()
116 /* wait for the child to exit successfully */ in ATF_TC_BODY()
128 ATF_REQUIRE(rc != -1); in ATF_TC_BODY()
137 /* request a signal on parent death and register a handler */ in ATF_TC_BODY()
148 /* wait for the child to exit successfully */ in ATF_TC_BODY()
169 ATF_REQUIRE(rc != -1); in ATF_TC_BODY()
186 /* request a signal on death of our parent B */ in ATF_TC_BODY()
194 /* wait for B to die and signal us... */ in ATF_TC_BODY()
208 /* wait for C to tell us it is ready for us to exit */ in ATF_TC_BODY()
209 rc = read(pipe_cb[0], &buffer, 1); in ATF_TC_BODY()
217 /* wait for C to tell us the test passed */ in ATF_TC_BODY()
218 rc = read(pipe_ca[0], &buffer, 1); in ATF_TC_BODY()
242 ATF_REQUIRE(rc != -1); in ATF_TC_BODY()
263 /* request a signal on parent death and register a handler */ in ATF_TC_BODY()
270 /* wait for B to die and signal us... */ in ATF_TC_BODY()
300 rc = read(pipe_cd[0], &buffer, 1); in ATF_TC_BODY()
322 /* wait for D to tell us it is ready for us to exit */ in ATF_TC_BODY()
323 rc = read(pipe_db[0], &buffer, 1); in ATF_TC_BODY()
332 /* wait for C to tell us the test passed */ in ATF_TC_BODY()
333 rc = read(pipe_ca[0], &buffer, 1); in ATF_TC_BODY()