xfstests: add 'check -btrfs' support
diff mbox

Message ID 51C15FFC.4010303@gmail.com
State Not Applicable
Headers show

Commit Message

Wang Sheng-Hui June 19, 2013, 7:38 a.m. UTC
Currently we can specify the testing filesytems like 'check -xfs', but
btrfs is not support in this kind of command option. Add the option
'check -btrfs' support.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
---
  check |    2 ++
  1 file changed, 2 insertions(+)

Patch
diff mbox

diff --git a/check b/check
index ff8fbcf..9c40615 100755
--- a/check
+++ b/check
@@ -74,6 +74,7 @@  usage()

  check options
      -xfs                test XFS (default)
+    -btrfs              test Btrfs
      -udf                test UDF
      -nfs                test NFS
      -l			line mode diff
@@ -162,6 +163,7 @@  while [ $# -gt 0 ]; do
  	-udf)	FSTYP=udf ;;
  	-xfs)	FSTYP=xfs ;;
  	-nfs)	FSTYP=nfs ;;
+	-btrfs) FSTYP=btrfs ;;

  	-g)	group=$2 ; shift ;
  		group_list=$(get_group_list $group)