From 9b4ec6cafcb579ed7344ea74d92aee5394104bee Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Wed, 19 Jun 2013 14:13:29 +0100 Subject: [PATCH] Add a cucumber test for thin_check --quiet --- features/thin_check.feature | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/features/thin_check.feature b/features/thin_check.feature index 2047eff..c6c614c 100644 --- a/features/thin_check.feature +++ b/features/thin_check.feature @@ -72,4 +72,11 @@ Feature: thin_check Scenario: --ignore-non-fatal-errors check passes on valid metadata Given valid metadata When I run thin_check with --ignore-non-fatal-errors - Then it should pass \ No newline at end of file + Then it should pass + + Scenario: -q should give no output + Given a corrupt superblock + When I run thin_check with --quiet + Then it should fail with: + """ + """ \ No newline at end of file