[era] era_superblock_t and era_check

This commit is contained in:
Joe Thornber
2014-01-09 22:40:34 +00:00
parent 2db5e0265d
commit bfb540cc5b
9 changed files with 709 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
ERA_USAGE =<<EOF
Usage: era_check [options] {device|file}
Options:
{-q|--quiet}
{-h|--help}
{-V|--version}
{--super-block-only}
EOF
Then /^era_usage to stdout$/ do
assert_partial_output(ERA_USAGE, all_stdout)
end
Then /^era_usage to stderr$/ do
assert_partial_output(ERA_USAGE, all_stderr)
end