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