Merge "Run fsync tests on mutable filesystem." into marshmallow-cts-dev am: de1f02c028 am: 0fab155cf8 am: b46bb761d5 am: 1e44a6e1ed am: 97ecf98be3
am: e9cb77f082
* commit 'e9cb77f082c224f31c4c4d04a613594f459a94b8':
Run fsync tests on mutable filesystem.
Change-Id: I0e97fa4e8eb4daf50beb6b1051ae8934deb2fb60
diff --git a/tests/unistd_test.cpp b/tests/unistd_test.cpp
index 62e39fd..8ac6dae 100644
--- a/tests/unistd_test.cpp
+++ b/tests/unistd_test.cpp
@@ -386,7 +386,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);