Searched refs:root_fd (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | dirent_test.cpp | 149 int root_fd = open("/", O_DIRECTORY | O_RDONLY); in TEST() local 150 ASSERT_NE(-1, root_fd); in TEST() 153 ASSERT_EQ(-1, scandirat(root_fd, "does-not-exist", &entries, nullptr, nullptr)); in TEST() 155 close(root_fd); in TEST() 163 int root_fd = open("/", O_DIRECTORY | O_RDONLY); in TEST() local 164 ASSERT_NE(-1, root_fd); in TEST() 167 ASSERT_EQ(-1, scandirat64(root_fd, "does-not-exist", &entries, nullptr, nullptr)); in TEST() 169 close(root_fd); in TEST()
|