[thin_check] wire up mapping tree checker

This commit is contained in:
Joe Thornber
2013-05-22 14:55:28 +01:00
parent b456f16aa0
commit 6fe92d4a63
3 changed files with 50 additions and 4 deletions

View File

@@ -49,8 +49,12 @@ Feature: thin_check
When I run thin_check with --super-block-only
Then it should pass
@announce
Scenario: --super-block-only check fails with corrupt superblock
Given a corrupt superblock
When I run thin_check with --super-block-only
Then it should fail
Then it should fail with:
"""
examining superblock
superblock is corrupt
bad checksum in superblock
"""