Searched refs:root_fd (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | dirent_test.cpp | 131 int root_fd = open("/", O_DIRECTORY | O_RDONLY); in TEST() local 132 ASSERT_NE(-1, root_fd); in TEST() 135 ASSERT_EQ(-1, scandirat(root_fd, "does-not-exist", &entries, nullptr, nullptr)); in TEST() 137 close(root_fd); in TEST() 141 int root_fd = open("/", O_DIRECTORY | O_RDONLY); in TEST() local 142 ASSERT_NE(-1, root_fd); in TEST() 145 ASSERT_EQ(-1, scandirat64(root_fd, "does-not-exist", &entries, nullptr, nullptr)); in TEST() 147 close(root_fd); in TEST()
|