Lines Matching refs:ATF_REQUIRE
111 ATF_REQUIRE(sysctlbyname("kern.securelevel", &level, &len, NULL, 0)
153 ATF_REQUIRE(getcwd(buf, sizeof(buf)) != NULL);
156 ATF_REQUIRE(mkdir(buf, 0500) == 0);
157 ATF_REQUIRE(chdir(buf) == 0);
159 ATF_REQUIRE(pipe(fds_toparent) == 0);
160 ATF_REQUIRE(pipe(fds_fromparent) == 0);
179 ATF_REQUIRE(close(fds_toparent[1]) == 0);
180 ATF_REQUIRE(close(fds_fromparent[0]) == 0);
184 ATF_REQUIRE(rv == sizeof(msg));
188 ATF_REQUIRE(rv == sizeof(msg));
191 ATF_REQUIRE(close(fds_fromparent[1]) == 0);
194 ATF_REQUIRE(close(fds_toparent[0]) == 0);
209 ATF_REQUIRE(ptrace(PT_TRACE_ME, 0, NULL, 0) == 0);