Lines Matching refs:faccessat
275 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", F_OK, ~AT_SYMLINK_NOFOLLOW)); in TEST()
278 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); in TEST()
281 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), AT_SYMLINK_NOFOLLOW)); in TEST()
282 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); in TEST()
290 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", F_OK, AT_SYMLINK_NOFOLLOW)); in TEST()
293 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", F_OK, AT_SYMLINK_NOFOLLOW)); in TEST()
298 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", F_OK, 0)); in TEST()
299 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", R_OK, 0)); in TEST()
300 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", W_OK, 0)); in TEST()
301 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", R_OK|W_OK, 0)); in TEST()
305 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/blah", F_OK, AT_SYMLINK_NOFOLLOW)); in TEST()