btrfs: Check return value of "btrfs filesystem show" command

The return value should always be 0 if no problem happens, but
"btrfs filesystem show" executed on umounted device will always return 1
even there is no problem.

This testcase just checks it.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Qu Wenruo
2015-05-04 22:56:11 +10:00
committed by Dave Chinner
parent 6139f10fa9
commit 842c5a5941
3 changed files with 74 additions and 0 deletions
+1
View File
@@ -91,3 +91,4 @@
086 auto quick clone
087 auto quick send
088 auto quick metadata
090 auto quick metadata