linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xfstests: add 'check -btrfs' support
@ 2013-06-19  7:38 Wang Sheng-Hui
  0 siblings, 0 replies; only message in thread
From: Wang Sheng-Hui @ 2013-06-19  7:38 UTC (permalink / raw)
  To: xfstests, linux-btrfs, Dave Chinner, Rich Johnston

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(+)

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)
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-19  7:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19  7:38 [PATCH] xfstests: add 'check -btrfs' support Wang Sheng-Hui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).