Merge "Run fsync tests on mutable filesystem."
This commit is contained in:
commit
878004f5b0
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue