xfs
[Top] [All Lists]

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

To: xfstests <xfs@xxxxxxxxxxx>, linux-btrfs@xxxxxxxxxxxxxxx, Dave Chinner <dchinner@xxxxxxxxxx>, Rich Johnston <rjohnston@xxxxxxx>
Subject: [PATCH] xfstests: add 'check -btrfs' support
From: Wang Sheng-Hui <shhuiw@xxxxxxxxx>
Date: Wed, 19 Jun 2013 15:38:36 +0800
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=fHh+w20C2CctbXDlFvjHK/pgN/6JJLSxj/YrCvNmzyE=; b=isLDQpENRrBj5eLHZAQ9kTLYFm7p8m1TCTXDWbmJxAEiVnjnp58zpHLcHXc5i5lhKi MUDwRHNqzxYZD5CgggeelP8BMqWqi1/79XT0xF05EI1jpdWi9ExX0sE7qV6TF1cssbBM uZWF/z28pqxdQ2bGCa+dDPG0ie8pSLetUBstJfkRtkAaMmIejYBQmrl8ERLHLSfNjhaZ khXuRWU7piQ7iTIu0ETKCY9TzppHZxauQAzRaRBIQ5CtdbTEGXPFpbsI4PViFd0Fy5kc jbGU6ofDC9u2OkG3EtFNPmSoIBnY7bjX1k0vJvUuPVynCWuc9WioDI/SWy0UXSGu0g6O Gkhw==
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0
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

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] xfstests: add 'check -btrfs' support, Wang Sheng-Hui <=