[thin_check] --clear-needs-check-flag

This commit is contained in:
Joe Thornber
2014-03-27 12:00:17 +00:00
parent fe019f6946
commit c3249ff757
4 changed files with 82 additions and 17 deletions

View File

@@ -17,9 +17,10 @@ Feature: thin_check
{-q|--quiet}
{-h|--help}
{-V|--version}
{--super-block-only}
{--skip-mappings}
{--clear-needs-check-flag}
{--ignore-non-fatal-errors}
{--skip-mappings}
{--super-block-only}
"""
Scenario: print help
@@ -32,9 +33,10 @@ Feature: thin_check
{-q|--quiet}
{-h|--help}
{-V|--version}
{--super-block-only}
{--skip-mappings}
{--clear-needs-check-flag}
{--ignore-non-fatal-errors}
{--skip-mappings}
{--super-block-only}
"""
Scenario: Unrecognised option should cause failure
@@ -77,3 +79,8 @@ Feature: thin_check
When I run thin_check with --quiet
Then it should fail
And it should give no output
Scenario: Accepts --clear-needs-check-flag
Given valid metadata
When I run thin_check with --clear-needs-check-flag
Then it should pass