aboutsummaryrefslogtreecommitdiffstats
path: root/check
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-03-15 12:27:57 +0000
committerRich Johnston <rjohnston@sgi.com>2013-03-26 18:27:34 -0500
commitfc48dfb96676c140ab371ab7723d59e3a4445d84 (patch)
treea4f94b48499b2fdeb962bb9581fa06250d487760 /check
parent797e625f28215709b9fe9fe57f70fa0ae250a327 (diff)
downloadxfstests-dev-fc48dfb96676c140ab371ab7723d59e3a4445d84.tar.gz
xfstests: move xfs specific tests out of top directory
And into tests/xfs. Tests found and moved via: $ grep "supported_fs xfs$" [0-2]* | cut -d : -f 1 > xfs.tests $ for i in `cat xfs.tests`; do > git mv $i* tests/xfs/ > grep ^$i group >> tests/xfs/group > sed -i -e "/^$i/d" group > done Output now looks like: sudo ./check -g quick -r FSTYP -- xfs (debug) PLATFORM -- Linux/x86_64 test-1 3.5.0-rc5-dgc+ MKFS_OPTIONS -- -f -bsize=4096 /dev/vdb MOUNT_OPTIONS -- /dev/vdb /mnt/scratch xfs/170 4s generic/120 16s generic/248 0s generic/213 0s generic/256 39s xfs/121 6s xfs/026 11s generic/131 1s xfs/187 1s generic/135 0s .... Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Phil White <pwhite@sgi.com> [rjohnston@sgi.com did not move test 032, belongs in shared] Signed-off-by: Rich Johnston <rjohnston@sgi.com>
Diffstat (limited to 'check')
-rwxr-xr-xcheck3
1 files changed, 2 insertions, 1 deletions
diff --git a/check b/check
index da2611a153..42b25b562f 100755
--- a/check
+++ b/check
@@ -38,6 +38,7 @@ FSTYP=xfs
SUPPORTED_TESTS="[0-9][0-9][0-9] [0-9][0-9][0-9][0-9]"
TEST_GROUP_DIR="tests"
GENERIC_GROUP_DIR="$TEST_GROUP_DIR/generic"
+XFS_GROUP_DIR="$TEST_GROUP_DIR/xfs"
# generic initialization
iam=check
@@ -86,7 +87,7 @@ _setenvironment()
get_group_list()
{
grp=$1
- dirs=". $GENERIC_GROUP_DIR"
+ dirs=". $GENERIC_GROUP_DIR $XFS_GROUP_DIR"
for d in $dirs; do
l=$(sed -n < $d/group \