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"
+SRC_DIR="tests"
+SRC_GROUPS="generic shared"
# generic initialization
iam=check
get_group_list()
{
grp=$1
- dirs=". $GENERIC_GROUP_DIR $XFS_GROUP_DIR"
- for d in $dirs; do
- l=$(sed -n < $d/group \
+ for d in $SRC_GROUPS $FSTYP; do
+ l=$(sed -n < $SRC_DIR/$d/group \
-e 's/#.*//' \
-e 's/$/ /' \
- -e "s;\(^[0-9][0-9][0-9]\).* $grp .*;$d/\1;p")
+ -e "s;\(^[0-9][0-9][0-9]\).* $grp .*;$SRC_DIR/$d/\1;p")
grpl="$grpl $l"
done
echo $grpl
echo "" >>check.log
date >>check.log
- echo $list | fmt | sed -e 's/^/ /' -e 's;tests/;;g' >>check.log
+ echo $list | fmt | sed -e 's/^/ /' -e "s;$SRC_DIR/;;g" >>check.log
$interrupt && echo "Interrupted!" >>check.log
if [ ! -z "$n_try" -a $n_try != 0 ]
# the filename for the test and the name output are different.
# we don't include the tests/ directory in the name output.
- seqnum=`echo $seq | sed -e 's;tests/;;'`
+ seqnum=`echo $seq | sed -e "s;$SRC_DIR/;;"`
echo -n "$seqnum"
# - do not start group names with a digit
# - comment line before each group is "new" description
#
-# test-group association ... one line per test
-#
-032 mkfs auto quick
-040 other auto
-051 acl udf auto quick
-098 udf auto
-101 udf
-102 udf
-177 rw other auto
-218 auto fsr quick
-243 auto quick prealloc
-254 auto quick
-264 auto
-265 auto
-271 auto rw quick
-272 auto enospc rw
-276 auto rw metadata
-284 auto
-289 auto quick
-298 auto trim
-301 aio dangerous ioctl rw stress
-302 aio dangerous ioctl rw stress
-303 aio dangerous ioctl rw stress
-304 aio dangerous ioctl rw stress
-305 aio dangerous enospc rw stress
-307 auto quick
--- /dev/null
+# QA groups control file
+# Defines test groups and nominal group owners
+# - do not start group names with a digit
+# - comment line before each group is "new" description
+#
+254 auto quick
+264 auto
+265 auto
+276 auto rw metadata
+284 auto
+307 auto quick
--- /dev/null
+# QA groups control file
+# Defines test groups and nominal group owners
+# - do not start group names with a digit
+# - comment line before each group is "new" description
+#
+271 auto rw quick
+301 aio dangerous ioctl rw stress
+302 aio dangerous ioctl rw stress
+303 aio dangerous ioctl rw stress
+304 aio dangerous ioctl rw stress
+
--- /dev/null
+# QA groups control file
+# Defines test groups and nominal group owners
+# - do not start group names with a digit
+# - comment line before each group is "new" description
+#
+032 mkfs auto quick
+051 acl udf auto quick
+218 auto fsr quick
+243 auto quick prealloc
+272 auto enospc rw
+289 auto quick
+298 auto trim
+305 aio dangerous enospc rw stress
+
--- /dev/null
+# QA groups control file
+# Defines test groups and nominal group owners
+# - do not start group names with a digit
+# - comment line before each group is "new" description
+#
+098 udf auto
+101 udf
+102 udf
037 dump ioctl remote tape
038 dump ioctl remote tape
039 dump ioctl remote tape
+040 other auto
041 growfs ioctl auto
042 fsr ioctl auto
043 dump ioctl tape
174 rw filestreams auto
175 dmapi auto
176 dmapi auto
+177 rw other auto
178 mkfs other auto
179 metadata rw auto
180 metadata rw auto
242 auto quick prealloc
244 auto quota quick
250 auto quick rw prealloc metadata
+252 auto quick prealloc
253 auto quick
259 auto quick
261 auto quick quota