Lines Matching refs:ATF_REQUIRE
61 ATF_REQUIRE((pid = fork()) != -1);
69 ATF_REQUIRE((pid = wait(&status)) != -1);
91 ATF_REQUIRE((kq = kqueue()) >= 0);
96 ATF_REQUIRE(kevent(kq, &event, 1, NULL, 0, NULL) == 0);
99 ATF_REQUIRE((pid = fork()) != -1);
114 ATF_REQUIRE(rv != -1);
115 ATF_REQUIRE(rv == 1);
118 ATF_REQUIRE(total_tracks <= TOTAL_DESCENDENTS);
120 ATF_REQUIRE(event.flags & EV_EOF);
121 ATF_REQUIRE(event.data >= 0);
122 ATF_REQUIRE(event.data <= UINT_MAX);
124 ATF_REQUIRE(WIFEXITED(status));
125 ATF_REQUIRE(WEXITSTATUS(status) == EXIT_CHILD ||
129 ATF_REQUIRE(child_exits <= TOTAL_CHILDREN);
130 ATF_REQUIRE(wait4((pid_t)event.ident,
134 ATF_REQUIRE(status == (int)event.data);
137 ATF_REQUIRE(grandchild_exits <=
147 ATF_REQUIRE((event.fflags & NOTE_FORK) == 0);
156 ATF_REQUIRE((event.fflags & NOTE_TRACKERR) == 0);
160 ATF_REQUIRE(kevent(kq, NULL, 0, &event, 1, &ts) == 0);