diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-06-21 08:56:23 -0700 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2021-06-27 22:50:19 +0800 |
commit | b5c1a98c7cc264787d0d46e0db44213a373350e6 (patch) | |
tree | 5e6e4173f38d4930b6adfb95fb2bc20398c246eb /check | |
parent | 810df5225bae2eadea549f7150189030d42d8ea2 (diff) | |
download | xfstests-dev-b5c1a98c7cc264787d0d46e0db44213a373350e6.tar.gz |
check: use generated group files
Convert the ./check script to use the automatically generated group list
membership files, as the transition is now complete.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'check')
-rwxr-xr-x | check | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -124,9 +124,9 @@ get_sub_group_list() local d=$1 local grp=$2 - test -s "$SRC_DIR/$d/group" || return 1 + test -s "$SRC_DIR/$d/group.list" || return 1 - local grpl=$(sed -n < $SRC_DIR/$d/group \ + local grpl=$(sed -n < $SRC_DIR/$d/group.list \ -e 's/#.*//' \ -e 's/$/ /' \ -e "s;^\($VALID_TEST_NAME\).* $grp .*;$SRC_DIR/$d/\1;p") @@ -384,7 +384,7 @@ if $have_test_arg; then test_dir=`dirname $t` test_dir=${test_dir#$SRC_DIR/*} test_name=`basename $t` - group_file=$SRC_DIR/$test_dir/group + group_file=$SRC_DIR/$test_dir/group.list if egrep -q "^$test_name" $group_file; then # in group file ... OK |