[PATCH] xfstests: add 'check -btrfs' support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux