Lines Matching refs:ATF_REQUIRE
68 ATF_REQUIRE(fchmod(fd, perm[i]) == 0);
72 ATF_REQUIRE(access(path, mode[i]) != 0);
73 ATF_REQUIRE(errno == EACCES);
76 ATF_REQUIRE(close(fd) == 0);
98 ATF_REQUIRE(access(NULL, mode[i]) != 0);
99 ATF_REQUIRE(errno == EFAULT);
103 ATF_REQUIRE(access((char *)-1, mode[i]) != 0);
104 ATF_REQUIRE(errno == EFAULT);
119 ATF_REQUIRE(access("/usr", -1) != 0);
120 ATF_REQUIRE(errno == EINVAL);
147 ATF_REQUIRE(access("/etc/passwd//", mode[i]) != 0);
148 ATF_REQUIRE(errno == ENOTDIR);
166 ATF_REQUIRE(access("", mode[i]) != 0);
167 ATF_REQUIRE(errno == ENOENT);
194 ATF_REQUIRE(access(buf, mode[i]) != 0);
195 ATF_REQUIRE(errno == ENAMETOOLONG);