Lines Matching refs:ATF_REQUIRE_ERRNO
169 ATF_REQUIRE_ERRNO(ENOENT, in ATF_TC_BODY()
171 ATF_REQUIRE_ERRNO(ENOENT, in ATF_TC_BODY()
191 ATF_REQUIRE_ERRNO(ECAPMODE, open("testdir", O_RDONLY) < 0); in ATF_TC_BODY()
194 ATF_REQUIRE_ERRNO(ECAPMODE, openat(AT_FDCWD, "d1/f1", O_RDONLY) < 0); in ATF_TC_BODY()
197 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, "..", O_RDONLY) < 0); in ATF_TC_BODY()
199 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY()
203 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, abspath, O_RDONLY) < 0); in ATF_TC_BODY()
206 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, "lup/f1", O_RDONLY) < 0); in ATF_TC_BODY()
228 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, "..", O_RDONLY) < 0); in ATF_TC_BODY()
229 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, "d1/../..", O_RDONLY) < 0); in ATF_TC_BODY()
230 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, "../testdir/d1/f1", O_RDONLY) < 0); in ATF_TC_BODY()
255 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dfd, "..", O_DIRECTORY)); in ATF_TC_BODY()