Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev am: de1f02c028
am: 0fab155cf8
* commit '0fab155cf861ee12e8b01b6339ef56524d56ebe1':
Run fsync tests on mutable filesystem.
Change-Id: Iadcaa7329c8ace2a898860dce99ae1a9cf5f2757
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);