xfs
[Top] [All Lists]

[PATCH v2] xfstests: fix README, FSTYP options

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: [PATCH v2] xfstests: fix README, FSTYP options
From: Dwight Engen <dwight.engen@xxxxxxxxxx>
Date: Thu, 27 Jun 2013 11:57:36 -0400
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20130626005029.GY29376@dastard>
Organization: Oracle Corporation
References: <20130625153423.513e4074@xxxxxxxxxx> <20130626005029.GY29376@dastard>
commit cbcc88fb changed test selection to use shell globs, so fixup the
examples given in the README file.

remove options for FSTYP other than NFS since the FSTYP will be automatically
detected (on Linux) from $TEST_DEV.

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

diff --git a/README b/README
index d4d4f31..da75dcf 100644
--- a/README
+++ b/README
@@ -81,9 +81,11 @@ 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 -xfs [test(s)]
-    - You can run a range of tests: ./check 067-078
+    - ./check '*/001' '*/002' '*/003'
+    - ./check '*/06?'
+    - You can explicitly specify NFS, otherwise the filesystem type will be
+      autodetected from $TEST_DEV:
+      ./check -nfs [test(s)]
     - 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..4085eae 100755
--- a/check
+++ b/check
@@ -73,8 +73,6 @@ usage()
     echo "Usage: $0 [options] [testlist]"'
 
 check options
-    -xfs                test XFS (default)
-    -udf                test UDF
     -nfs                test NFS
     -l                 line mode diff
     -udiff             show unified diff (default)
@@ -159,8 +157,6 @@ while [ $# -gt 0 ]; do
        case "$1" in
        -\? | -h | --help) usage ;;
 
-       -udf)   FSTYP=udf ;;
-       -xfs)   FSTYP=xfs ;;
        -nfs)   FSTYP=nfs ;;
 
        -g)     group=$2 ; shift ;
-- 
1.8.1.4

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