Lines Matching refs:ATF_REQUIRE
147 ATF_REQUIRE(pid != -1);
155 ATF_REQUIRE(kq >= 0);
157 ATF_REQUIRE(signal(SIGUSR1, SIG_IGN) != SIG_ERR);
158 ATF_REQUIRE(signal(SIGUSR2, SIG_IGN) != SIG_ERR);
163 ATF_REQUIRE(kevent(kq, events, 2, &events[2], 1, NULL) == 1);
164 ATF_REQUIRE(events[2].filter == EVFILT_SIGNAL);
165 ATF_REQUIRE(events[2].ident == SIGUSR1);
187 ATF_REQUIRE(kq >= 0);
191 ATF_REQUIRE(kevent(kq, events, 1, NULL, 0, NULL) == 0);
197 ATF_REQUIRE(kill(pid, SIGUSR1) == 0);
199 ATF_REQUIRE(kevent(kq, NULL, 0, events, 1, NULL) == 1);
200 ATF_REQUIRE(events[0].filter == EVFILT_PROC);
201 ATF_REQUIRE(events[0].ident == (uintptr_t)pid);
202 ATF_REQUIRE(events[0].fflags == NOTE_EXIT);