Lines Matching full:d1
58 asprintf(&abspath, "%s/testdir/d1/f1", cwd); in prepare_dotdot_tests()
63 ATF_REQUIRE(mkdirat(dirfd, "d1", 0777) == 0); in prepare_dotdot_tests()
64 ATF_REQUIRE(mkdirat(dirfd, "d1/d2", 0777) == 0); in prepare_dotdot_tests()
65 ATF_REQUIRE(mkdirat(dirfd, "d1/d2/d3", 0777) == 0); in prepare_dotdot_tests()
66 touchat(dirfd, "d1/f1"); in prepare_dotdot_tests()
67 touchat(dirfd, "d1/d2/f2"); in prepare_dotdot_tests()
68 touchat(dirfd, "d1/d2/d3/f3"); in prepare_dotdot_tests()
69 ATF_REQUIRE(symlinkat("d1/d2/d3", dirfd, "l3") == 0); in prepare_dotdot_tests()
70 ATF_REQUIRE(symlinkat("../testdir/d1", dirfd, "lup") == 0); in prepare_dotdot_tests()
71 ATF_REQUIRE(symlinkat("../..", dirfd, "d1/d2/d3/ld1") == 0); in prepare_dotdot_tests()
72 ATF_REQUIRE(symlinkat("../../f1", dirfd, "d1/d2/d3/lf1") == 0); in prepare_dotdot_tests()
96 ATF_REQUIRE(openat(dirfd, "d1/d2/d3/f3", O_RDONLY) >= 0); in ATF_TC_BODY()
97 ATF_REQUIRE(openat(dirfd, "d1/d2/d3/../../f1", O_RDONLY) >= 0); in ATF_TC_BODY()
100 ATF_REQUIRE(openat(dirfd, "../testdir/d1/f1", O_RDONLY) >= 0); in ATF_TC_BODY()
112 "Validate cap-mode (testdir)/d1/.. lookup"); in ATF_TC_HEAD()
127 ATF_REQUIRE_MSG(openat(dirfd, "d1/..", O_RDONLY) >= 0, "%s", in ATF_TC_BODY()
135 "Validate cap-mode (testdir)/d1/.. lookup"); in ATF_TC_HEAD()
150 ATF_REQUIRE(openat(dirfd, "d1/d2/d3/../../f1", O_RDONLY) >= 0); in ATF_TC_BODY()
194 ATF_REQUIRE_ERRNO(ECAPMODE, openat(AT_FDCWD, "d1/f1", 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()