ASSERT_EQ(0, fs.open_for_write("dir", "file_sync", &h, false));
for (unsigned i = 0; i < 1000; ++i) {
h->append("abcdeabcdeabcdeabcdeabcdeabc", 23);
- fs.fsync(h);
+ ASSERT_EQ(0, fs.fsync(h));
}
fs.close_writer(h);
}
}
fs.umount();
// remount and check log can replay safe?
- fs.mount();
+ ASSERT_EQ(0, fs.mount());
fs.umount();
rm_temp_bdev(fn);
}