diff options
-rw-r--r-- | tests/unistd_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unistd_test.cpp b/tests/unistd_test.cpp index 75b3edc4c..51ec52e54 100644 --- a/tests/unistd_test.cpp +++ b/tests/unistd_test.cpp @@ -374,7 +374,7 @@ static void TestFsyncFunction(int (*fn)(int)) { close(fd); // The fd can even be a directory. - ASSERT_NE(-1, fd = open("/data", O_RDONLY)); + ASSERT_NE(-1, fd = open("/data/local/tmp", O_RDONLY)); EXPECT_EQ(0, fn(fd)); close(fd); |