cache_check: add --clear-needs-check

This commit is contained in:
Joe Thornber
2015-06-09 14:01:22 +01:00
parent c8d8af488f
commit 6ab0833b2e
5 changed files with 45 additions and 3 deletions

View File

@@ -93,3 +93,8 @@ Feature: cache_check
And I run cache_restore with -i metadata.xml -o input --debug-override-metadata-version 12345
When I run `cache_check input`
Then it should fail
Scenario: Accepts --clear-needs-check-flag
Given valid cache metadata
When I run `cache_check --clear-needs-check-flag metadata.bin`
Then it should pass

View File

@@ -40,6 +40,7 @@ Options:
{-q|--quiet}
{-h|--help}
{-V|--version}
{--clear-needs-check-flag}
{--super-block-only}
{--skip-mappings}
{--skip-hints}