Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev
am: de1f02c028
* commit 'de1f02c02815c06a6123e0d857ca217534ffbd47':
Run fsync tests on mutable filesystem.
Change-Id: I0e1cb73b9bde33672a1ef944b75c8bb180976304
diff --git a/tests/unistd_test.cpp b/tests/unistd_test.cpp
index 79c16d7..75b3edc 100644
--- a/tests/unistd_test.cpp
+++ b/tests/unistd_test.cpp
@@ -374,7 +374,7 @@
close(fd);
// The fd can even be a directory.
- ASSERT_NE(-1, fd = open("/", O_RDONLY));
+ ASSERT_NE(-1, fd = open("/data", O_RDONLY));
EXPECT_EQ(0, fn(fd));
close(fd);