Lines Matching refs:faccessat
46 #define FILE "dir/faccessat"
47 #define BASEFILE "faccessat"
55 atf_tc_set_md_var(tc, "descr", "See that faccessat works with fd");
67 ATF_REQUIRE(faccessat(dfd, BASEFILE, F_OK, 0) == 0);
75 "See that faccessat works with fd as AT_FDCWD");
86 ATF_REQUIRE(faccessat(AT_FDCWD, BASEFILE, F_OK, 0) == 0);
93 "See that faccessat fails with fd as AT_FDCWD and bad path");
98 ATF_REQUIRE(faccessat(AT_FDCWD, FILEERR, F_OK, 0) == -1);
104 atf_tc_set_md_var(tc, "descr", "See that faccessat fail with bad path");
112 ATF_REQUIRE(faccessat(dfd, FILEERR, F_OK, 0) == -1);
119 atf_tc_set_md_var(tc, "descr", "See that faccessat fails with bad fdat");
132 ATF_REQUIRE(faccessat(dfd, BASEFILE, F_OK, 0) == -1);
139 atf_tc_set_md_var(tc, "descr", "See that faccessat fails with fd as -1");
149 ATF_REQUIRE(faccessat(-1, FILE, F_OK, 0) == -1);
155 atf_tc_set_md_var(tc, "descr", "See that faccessat works on symlink");
166 ATF_REQUIRE(faccessat(dfd, BASELINK, F_OK, 0) == -1);
169 ATF_REQUIRE(faccessat(dfd, BASELINK, F_OK, AT_SYMLINK_NOFOLLOW) == 0);
177 atf_tc_set_md_var(tc, "descr", "See that faccessat works with invalid "
192 ATF_REQUIRE(faccessat(-1, abs_path, W_OK, 0) == 0);
199 atf_tc_set_md_var(tc, "descr", "See that faccessat works with "
214 ATF_REQUIRE(faccessat(dfd, abs_path, W_OK, 0) == 0);
221 atf_tc_set_md_var(tc, "descr", "See that faccessat works with fd "
233 ATF_REQUIRE(faccessat(AT_FDCWD, abs_path, W_OK, 0) == 0);