]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfstests: fix README, FSTYP options
authorDwight Engen <dwight.engen@oracle.com>
Thu, 27 Jun 2013 15:57:36 +0000 (11:57 -0400)
committerBen Myers <bpm@sgi.com>
Tue, 9 Jul 2013 16:09:10 +0000 (11:09 -0500)
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@oracle.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
README
check

diff --git a/README b/README
index d4d4f3135b6aa06baf43491b2cd858e1b18d0d11..da75dcf2ed4e03fedbfa344be6684c9ba2f9ac7c 100644 (file)
--- 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 ff8fbcf4615561e7cc42e15e43eed8a70d598272..4085eae86877f72536d87f0b70945f101d3d8ad7 100755 (executable)
--- 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 ;