Searched refs:root_fd (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | dirent_test.cpp | 150 int root_fd = open("/", O_DIRECTORY | O_RDONLY); in TEST() local 151 ASSERT_NE(-1, root_fd); in TEST() 154 ASSERT_EQ(-1, scandirat(root_fd, "does-not-exist", &entries, nullptr, nullptr)); in TEST() 156 close(root_fd); in TEST() 164 int root_fd = open("/", O_DIRECTORY | O_RDONLY); in TEST() local 165 ASSERT_NE(-1, root_fd); in TEST() 168 ASSERT_EQ(-1, scandirat64(root_fd, "does-not-exist", &entries, nullptr, nullptr)); in TEST() 170 close(root_fd); in TEST()
|