Small work on metadata_checker tests.

This commit is contained in:
Joe Thornber
2013-04-26 15:55:45 +01:00
parent b1e0ca2207
commit 441cba7185
5 changed files with 17 additions and 4 deletions

View File

@@ -120,8 +120,7 @@ namespace {
}
void corrupt_superblock() {
block_manager<>::write_ref wr = bm_->write_lock(0);
wr.data()[57] = 0;
zero_block(bm_, SUPERBLOCK_LOCATION);
}
with_temp_directory dir_;