[thin_check] Add cucumber test for --skip-mappings

This commit is contained in:
Joe Thornber
2013-05-23 11:45:08 +01:00
parent 35538378fe
commit f8efc4f58c
2 changed files with 13 additions and 4 deletions

View File

@@ -38,6 +38,7 @@ Feature: thin_check
{-h|--help}
{-V|--version}
{--super-block-only}
{--skip-mappings}
"""
Scenario: Unrecognised option should cause failure
@@ -57,4 +58,9 @@ Feature: thin_check
examining superblock
superblock is corrupt
bad checksum in superblock
"""
"""
Scenario: --skip-mappings check passes on valid metadata
Given valid metadata
When I run thin_check with --skip-mappings
Then it should pass