Lines Matching refs:ATF_REQUIRE
64 ATF_REQUIRE((kq = kqueue()) != -1);
66 ATF_REQUIRE(kevent(kq, &ev, 1, NULL, 0, NULL) != -1);
67 ATF_REQUIRE(kevent(kq, NULL, 0, &ev, 1, NULL) == 1);
86 ATF_REQUIRE((kq = kqueue()) != -1);
90 ATF_REQUIRE(socketpair(AF_LOCAL, SOCK_STREAM, 0, s) != -1);
164 ATF_REQUIRE(fd != -1);
165 ATF_REQUIRE((kq = kqueue()) != -1);
171 ATF_REQUIRE(kevent(kq, &ev, 1, NULL, 0, NULL) == -1);
190 ATF_REQUIRE((kq = kqueue()) != -1);
193 ATF_REQUIRE(kevent(kq, &ev, 1, NULL, 0, NULL) == 0);
195 ATF_REQUIRE(kevent(kq, &ev, 1, NULL, 0, NULL) == 0);
201 ATF_REQUIRE(kevent(kq, NULL, 0, &rev, 1, &timeout) == 1);
202 ATF_REQUIRE(rev.ident == 666);
203 ATF_REQUIRE(rev.filter == EVFILT_USER);
204 ATF_REQUIRE(rev.fflags == 8);