Merge "Run fsync tests on mutable filesystem."

This commit is contained in:
Treehugger Robot 2016-05-23 20:36:33 +00:00 committed by Gerrit Code Review
commit 878004f5b0
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ static void TestFsyncFunction(int (*fn)(int)) {
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);