summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorMurphy Zhou <jencce.kernel@gmail.com>2022-09-20 11:19:50 +0800
committerZorro Lang <zlang@kernel.org>2022-09-20 15:36:51 +0800
commit1cbaf24e0cc87828504b139f38bfe9c31b05841c (patch)
tree6f205008154a12e5c4a971ad6b0d90ec52759523 /check
parenta945da31e759a7482a0d3087b825af674acdc3ad (diff)
egrep, fgrep: deprecated
Since this grep commit: commit a9515624709865d480e3142fd959bccd1c9372d1 Author: Paul Eggert <eggert@cs.ucla.edu> Date: Sun Aug 15 10:52:13 2021 -0700 egrep, fgrep: now obsolete egrep will trigger a warning like: +egrep: warning: egrep is obsolescent; using grep -E This will break many gold output. Signed-off-by: Murphy Zhou <jencce.kernel@gmail.com> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to 'check')
-rwxr-xr-xcheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/check b/check
index 000e31cb..af23572c 100755
--- a/check
+++ b/check
@@ -389,7 +389,7 @@ if $have_test_arg; then
test_name=`basename $t`
group_file=$SRC_DIR/$test_dir/group.list
- if egrep -q "^$test_name" $group_file; then
+ if grep -Eq "^$test_name" $group_file; then
# in group file ... OK
echo $SRC_DIR/$test_dir/$test_name \
>>$tmp.arglist