xfs
[Top] [All Lists]

[PATCH] xfstests: fix README, FSTYP options

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: fix README, FSTYP options
From: Dwight Engen <dwight.engen@xxxxxxxxxx>
Date: Tue, 25 Jun 2013 15:34:23 -0400
Delivered-to: xfs@xxxxxxxxxxx
Organization: Oracle Corporation
commit cbcc88fb changed test selection to use shell globs, so fixup the
examples given in the README file.

add options for FSTYPs supported by _scratch_mkfs().

Signed-off-by: Dwight Engen <dwight.engen@xxxxxxxxxx>
---
 README | 5 +++--
 check  | 4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/README b/README
index d4d4f31..af4e4a5 100644
--- a/README
+++ b/README
@@ -81,9 +81,10 @@ Running tests:
 
     - cd xfstests
     - By default the tests suite will run xfs tests:
-    - ./check 001 002 003 ... or you can explicitly run a filesystem: 
+    - ./check '*/001' '*/002' '*/003'
+    - ./check '*/06?'
+    - You can explicitly specify a filesystem (btrfs, ext4, nfs, udf, xfs): 
       ./check -xfs [test(s)]
-    - You can run a range of tests: ./check 067-078
     - Groups of tests maybe ran by: ./check -g [group(s)]
       See the 'group' file for details on groups
     - for udf tests: ./check -udf [test(s)]
diff --git a/check b/check
index ff8fbcf..a677727 100755
--- a/check
+++ b/check
@@ -159,9 +159,11 @@ while [ $# -gt 0 ]; do
        case "$1" in
        -\? | -h | --help) usage ;;
 
+       -btrfs) FSTYP=btrfs ;;
+       -ext4)  FSTYP=ext4 ;;
+       -nfs)   FSTYP=nfs ;;
        -udf)   FSTYP=udf ;;
        -xfs)   FSTYP=xfs ;;
-       -nfs)   FSTYP=nfs ;;
 
        -g)     group=$2 ; shift ;
                group_list=$(get_group_list $group)
-- 
1.8.1.4

<Prev in Thread] Current Thread [Next in Thread>