Message ID | 1669165413-12035-1-git-send-email-yangtiezhu@loongson.cn |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2524007wrr; Tue, 22 Nov 2022 17:04:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7J8IN/rKV5iALNEZ6BJc2PWkxOYDVS999sHMTrofs7llp73JZg4LW3boIrnUlmtLCheYv3 X-Received: by 2002:a17:902:7042:b0:186:7fce:5ec9 with SMTP id h2-20020a170902704200b001867fce5ec9mr10203665plt.48.1669165466278; Tue, 22 Nov 2022 17:04:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669165466; cv=none; d=google.com; s=arc-20160816; b=zKfJeiPh/kjWj3es6BWkVvlP0hgaxYCDpFy8kGvWCocLdFJPIb/RAUI/RhlSU2iWsJ ZhOfg8bVlahwRbUP2I/XOrFQT05zmnwHibx4gTJmy6PcLWZcl/BxB4WS/2zh7xVgy4Bp /UCW7s/VSzO2EPgQbhUK0ejwg02qQJQKpaYGPyedwkbHcRrboA9HLp+9vSe9oCwiOVrs 2QahbMrGlpxMUdBCaFK1Qif+YTvlRcPOCF9z5Mj3Wcx/nKlExJ2DoR/asEniEW+Rh7lJ /uN6n54FNbmly481zO6qx8g6L9dIx018qFcg5cwEfUsj9e1io6ov/Kd3Ssb/Fwqc9XgX zRXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=9NS0nDTAzOAXy6xcSIKah4uYTt27ATiCwdxRwTGZvtY=; b=v1nm6TZ4dHuqLdMAj7Zj4GmvmAPXgeC4y4+0nhphszB0v7gnjbQXOOKxILczt3PtIx IQ60swxxLnzwcg+cmbFdrGX+2H2pKw7oVQDIGDI6ANG9MPYrwhI59puRLduqIHJjbqFY NB05dbDfSSg5uMGYnOPRLjmowX4nsxhK2RZSZA/9TAjLEUWd5LCzhvjukIyu3LaPiqfR tVLofmIlK3gRiz4ZWBm9WNZnVJpwNUrLzQ6JUnPH8j3Dvj1SpedPiPI64jAUwZRgLZ9d cEIN9k4MnA8WKWZm3wmJikhFpmtZPgXz+k5ckhP7Z2IDN4pju1KtSvfCS6wbtVuW8Zii Oyfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d16-20020a056a00199000b0056ba7a9182asi14624488pfl.250.2022.11.22.17.04.13; Tue, 22 Nov 2022 17:04:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235178AbiKWBDs (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Tue, 22 Nov 2022 20:03:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232517AbiKWBDo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 22 Nov 2022 20:03:44 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A7E04DA4F2; Tue, 22 Nov 2022 17:03:41 -0800 (PST) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8CxpfBscX1jgyMAAA--.464S3; Wed, 23 Nov 2022 09:03:40 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxJldqcX1js24YAA--.45400S2; Wed, 23 Nov 2022 09:03:39 +0800 (CST) From: Tiezhu Yang <yangtiezhu@loongson.cn> To: Shuah Khan <shuah@kernel.org>, Shuah Khan <skhan@linuxfoundation.org> Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/6] selftests: Use "grep -E" instead of "egrep" Date: Wed, 23 Nov 2022 09:03:27 +0800 Message-Id: <1669165413-12035-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8CxJldqcX1js24YAA--.45400S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoWrtrW5Gr4DZw1kGw18uF1fXrb_yoWkWrbE9r W8tF95Jr4UZF9rAr47Ww4YyrZrC3y2kr1qqrWrW3WYkrW5XF4DGF4kAw1j9a4rWw45G34a vFsYkFySkw1aqjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY U7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUGVWUXwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26r1I6r4UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7 xvwVC2z280aVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv6xkF7I0E14v26r4j6r4UJwAS0I0E 0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzV Aqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S 6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7VAKI48JMxC20s026x CaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_ JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r 1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_ Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8Jb IYCTnIWIevJa73UjIFyTuYvjxU25EfUUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750246848062967924?= X-GMAIL-MSGID: =?utf-8?q?1750246848062967924?= |
Series |
selftests: Use "grep -E" instead of "egrep"
|
|
Message
Tiezhu Yang
Nov. 23, 2022, 1:03 a.m. UTC
v2: split into separate 6 patches suggested by Shuah Tiezhu Yang (6): selftests: rcutorture: Use "grep -E" instead of "egrep" selftests: ftrace: Use "grep -E" instead of "egrep" selftests: powerpc: Use "grep -E" instead of "egrep" selftests: gpio: Use "grep -E" instead of "egrep" selftests: net: Use "grep -E" instead of "egrep" selftests: kselftest_deps: Use "grep -E" instead of "egrep" .../selftests/ftrace/test.d/preemptirq/irqsoff_tracer.tc | 8 ++++---- tools/testing/selftests/gpio/gpio-sim.sh | 2 +- tools/testing/selftests/kselftest_deps.sh | 2 +- tools/testing/selftests/net/toeplitz.sh | 2 +- tools/testing/selftests/powerpc/scripts/hmi.sh | 2 +- tools/testing/selftests/rcutorture/bin/console-badness.sh | 2 +- tools/testing/selftests/rcutorture/bin/kvm-build.sh | 4 ++-- tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh | 4 ++-- tools/testing/selftests/rcutorture/bin/kvm.sh | 4 ++-- tools/testing/selftests/rcutorture/bin/parse-console.sh | 10 +++++----- 10 files changed, 20 insertions(+), 20 deletions(-)
Comments
It seems that patch #2~#6 has no conflicts with the other related git tree, but patch #1 is conflicted with paulmck/linux-rcu.git dev. What should I do? Shuah, could you please apply patch #2~#6 to your linux-kselftest.git next branch and ignore patch #1? And then let me send a seperate patch #1 rebased on paulmck/linux-rcu.git dev branch to rcu@vger.kernel.org. Thanks, Tiezhu
On 11/22/22 19:27, Tiezhu Yang wrote: > It seems that patch #2~#6 has no conflicts with the other related > git tree, but patch #1 is conflicted with paulmck/linux-rcu.git dev. > > What should I do? > > Shuah, could you please apply patch #2~#6 to your linux-kselftest.git next branch and ignore patch #1? > > And then let me send a seperate patch #1 rebased on paulmck/linux-rcu.git dev branch to rcu@vger.kernel.org. > That won't work because linux-kselftest next won't have the linux-rcu content. I already picked patches 1,2,6 Patches 3 (powerpc) and 5 (net) go through powerpc and net trees. Please resend just those cc'ing the right people. get_maintainers.pl will give you the info. As for patch 1 - perhaps the conflict could be resolved in next. Paul, would you like me to drop rcutorture patch from linux-kselftest next? thanks, -- Shuah
On Tue, Nov 29, 2022 at 02:39:25PM -0700, Shuah Khan wrote: > On 11/22/22 19:27, Tiezhu Yang wrote: > > It seems that patch #2~#6 has no conflicts with the other related > > git tree, but patch #1 is conflicted with paulmck/linux-rcu.git dev. > > > > What should I do? > > > > Shuah, could you please apply patch #2~#6 to your linux-kselftest.git next branch and ignore patch #1? > > > > And then let me send a seperate patch #1 rebased on paulmck/linux-rcu.git dev branch to rcu@vger.kernel.org. > > > > That won't work because linux-kselftest next won't have the linux-rcu content. > I already picked patches 1,2,6 > > Patches 3 (powerpc) and 5 (net) go through powerpc and net trees. Please resend > just those cc'ing the right people. get_maintainers.pl will give you the info. > > As for patch 1 - perhaps the conflict could be resolved in next. > > Paul, would you like me to drop rcutorture patch from linux-kselftest next? I would be happy to carry the rcutorture patch, especially if doing so makes life easier. ;-) But please do send me some sort of pointer to the patch. Otherwise, I guarantee you that I will queue the wrong one. Thanx, Paul
On 11/29/22 15:13, Paul E. McKenney wrote: > On Tue, Nov 29, 2022 at 02:39:25PM -0700, Shuah Khan wrote: >> On 11/22/22 19:27, Tiezhu Yang wrote: >>> It seems that patch #2~#6 has no conflicts with the other related >>> git tree, but patch #1 is conflicted with paulmck/linux-rcu.git dev. >>> >>> What should I do? >>> >>> Shuah, could you please apply patch #2~#6 to your linux-kselftest.git next branch and ignore patch #1? >>> >>> And then let me send a seperate patch #1 rebased on paulmck/linux-rcu.git dev branch to rcu@vger.kernel.org. >>> >> >> That won't work because linux-kselftest next won't have the linux-rcu content. >> I already picked patches 1,2,6 >> >> Patches 3 (powerpc) and 5 (net) go through powerpc and net trees. Please resend >> just those cc'ing the right people. get_maintainers.pl will give you the info. >> >> As for patch 1 - perhaps the conflict could be resolved in next. >> >> Paul, would you like me to drop rcutorture patch from linux-kselftest next? > > I would be happy to carry the rcutorture patch, especially if doing so > makes life easier. ;-) > > But please do send me some sort of pointer to the patch. Otherwise, > I guarantee you that I will queue the wrong one. > I have it queued up in linux-kselftest next for Linux 6.2-rc1 - if it is easier we can just resolve the merge in next. thanks, -- Shuah
On Tue, Nov 29, 2022 at 03:24:32PM -0700, Shuah Khan wrote: > On 11/29/22 15:13, Paul E. McKenney wrote: > > On Tue, Nov 29, 2022 at 02:39:25PM -0700, Shuah Khan wrote: > > > On 11/22/22 19:27, Tiezhu Yang wrote: > > > > It seems that patch #2~#6 has no conflicts with the other related > > > > git tree, but patch #1 is conflicted with paulmck/linux-rcu.git dev. > > > > > > > > What should I do? > > > > > > > > Shuah, could you please apply patch #2~#6 to your linux-kselftest.git next branch and ignore patch #1? > > > > > > > > And then let me send a seperate patch #1 rebased on paulmck/linux-rcu.git dev branch to rcu@vger.kernel.org. > > > > > > > > > > That won't work because linux-kselftest next won't have the linux-rcu content. > > > I already picked patches 1,2,6 > > > > > > Patches 3 (powerpc) and 5 (net) go through powerpc and net trees. Please resend > > > just those cc'ing the right people. get_maintainers.pl will give you the info. > > > > > > As for patch 1 - perhaps the conflict could be resolved in next. > > > > > > Paul, would you like me to drop rcutorture patch from linux-kselftest next? > > > > I would be happy to carry the rcutorture patch, especially if doing so > > makes life easier. ;-) > > > > But please do send me some sort of pointer to the patch. Otherwise, > > I guarantee you that I will queue the wrong one. > > I have it queued up in linux-kselftest next for Linux 6.2-rc1 - if it is easier > we can just resolve the merge in next. Lazybones that I am, I would rather carry the patch than resolve conflicts. Especially given the tendency for new rcutorture patches to appear, thus changing the conflict resolution. My guess is that the patch is this one: https://lore.kernel.org/lkml/1669165413-12035-2-git-send-email-yangtiezhu@loongson.cn/ Or should I be looking elsewhere? Thanx, Paul
On 11/29/22 16:22, Paul E. McKenney wrote: > Lazybones that I am, I would rather carry the patch than resolve > conflicts. Especially given the tendency for new rcutorture patches to > appear, thus changing the conflict resolution. > Sounds good. I will drop the one I applied to my tree. > My guess is that the patch is this one: > > https://lore.kernel.org/lkml/1669165413-12035-2-git-send-email-yangtiezhu@loongson.cn/ > > Or should I be looking elsewhere? > Yup that is one. thanks, -- Shuah
On Tue, Nov 29, 2022 at 04:30:39PM -0700, Shuah Khan wrote: > On 11/29/22 16:22, Paul E. McKenney wrote: > > > Lazybones that I am, I would rather carry the patch than resolve > > conflicts. Especially given the tendency for new rcutorture patches to > > appear, thus changing the conflict resolution. > > > > Sounds good. I will drop the one I applied to my tree. > > > My guess is that the patch is this one: > > > > https://lore.kernel.org/lkml/1669165413-12035-2-git-send-email-yangtiezhu@loongson.cn/ > > > > Or should I be looking elsewhere? > > Yup that is one. Very good, thank you! I have queued it as shown below. Thanx, Paul ------------------------------------------------------------------------ commit 72dcfda0e73be7e2e8b7faf0299b0f43c20af015 Author: Tiezhu Yang <yangtiezhu@loongson.cn> Date: Wed Nov 23 09:03:28 2022 +0800 selftests: rcutorture: Use "grep -E" instead of "egrep" The latest version of grep is deprecating the egrep command, so that its output contains warnings as follows: egrep: warning: egrep is obsolescent; using grep -E Fix this using "grep -E" instead. sed -i "s/egrep/grep -E/g" `grep egrep -rwl tools/testing/selftests/rcutorture` Here are the steps to install the latest grep: wget http://ftp.gnu.org/gnu/grep/grep-3.8.tar.gz tar xf grep-3.8.tar.gz cd grep-3.8 && ./configure && make sudo make install export PATH=/usr/local/bin:$PATH Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> diff --git a/tools/testing/selftests/rcutorture/bin/console-badness.sh b/tools/testing/selftests/rcutorture/bin/console-badness.sh index 69f8a5958cefc..aad51e7c0183d 100755 --- a/tools/testing/selftests/rcutorture/bin/console-badness.sh +++ b/tools/testing/selftests/rcutorture/bin/console-badness.sh @@ -10,7 +10,7 @@ # # Authors: Paul E. McKenney <paulmck@kernel.org> -egrep 'Badness|WARNING:|Warn|BUG|===========|BUG: KCSAN:|Call Trace:|Oops:|detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state|rcu_.*kthread starved for|!!!' | +grep -E 'Badness|WARNING:|Warn|BUG|===========|BUG: KCSAN:|Call Trace:|Oops:|detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state|rcu_.*kthread starved for|!!!' | grep -v 'ODEBUG: ' | grep -v 'This means that this is a DEBUG kernel and it is' | grep -v 'Warning: unable to open an initial console' | diff --git a/tools/testing/selftests/rcutorture/bin/kvm-build.sh b/tools/testing/selftests/rcutorture/bin/kvm-build.sh index e28a82851f7c4..11f8d232b0ee7 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-build.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-build.sh @@ -44,10 +44,10 @@ fi ncpus="`getconf _NPROCESSORS_ONLN`" make -j$((2 * ncpus)) $TORTURE_KMAKE_ARG > $resdir/Make.out 2>&1 retval=$? -if test $retval -ne 0 || grep "rcu[^/]*": < $resdir/Make.out | egrep -q "Stop|Error|error:|warning:" || egrep -q "Stop|Error|error:" < $resdir/Make.out +if test $retval -ne 0 || grep "rcu[^/]*": < $resdir/Make.out | grep -E -q "Stop|Error|error:|warning:" || grep -E -q "Stop|Error|error:" < $resdir/Make.out then echo Kernel build error - egrep "Stop|Error|error:|warning:" < $resdir/Make.out + grep -E "Stop|Error|error:|warning:" < $resdir/Make.out echo Run aborted. exit 3 fi diff --git a/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh b/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh index d4dc059843a43..28981007465bd 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh @@ -32,9 +32,9 @@ for i in ${rundir}/*/Make.out do scenariodir="`dirname $i`" scenariobasedir="`echo ${scenariodir} | sed -e 's/\.[0-9]*$//'`" - if egrep -q "error:|warning:|^ld: .*undefined reference to" < $i + if grep -E -q "error:|warning:|^ld: .*undefined reference to" < $i then - egrep "error:|warning:|^ld: .*undefined reference to" < $i > $i.diags + grep -E "error:|warning:|^ld: .*undefined reference to" < $i > $i.diags files="$files $i.diags $i" elif ! test -f ${scenariobasedir}/vmlinux && ! test -f ${scenariobasedir}/vmlinux.xz && ! test -f "${rundir}/re-run" then diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh index 7710b1e1cddab..3025a949bc99e 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm.sh @@ -585,7 +585,7 @@ awk < $T/cfgcpu.pack \ echo kvm-end-run-stats.sh "$resdir/$ds" "$starttime" >> $T/script # Extract the tests and their batches from the script. -egrep 'Start batch|Starting build\.' $T/script | grep -v ">>" | +grep -E 'Start batch|Starting build\.' $T/script | grep -v ">>" | sed -e 's/:.*$//' -e 's/^echo //' -e 's/-ovf//' | awk ' /^----Start/ { @@ -622,7 +622,7 @@ then elif test "$dryrun" = sched then # Extract the test run schedule from the script. - egrep 'Start batch|Starting build\.' $T/script | grep -v ">>" | + grep -E 'Start batch|Starting build\.' $T/script | grep -v ">>" | sed -e 's/:.*$//' -e 's/^echo //' nbuilds="`grep 'Starting build\.' $T/script | grep -v ">>" | sed -e 's/:.*$//' -e 's/^echo //' | diff --git a/tools/testing/selftests/rcutorture/bin/parse-console.sh b/tools/testing/selftests/rcutorture/bin/parse-console.sh index 822eb037a0573..9ab0f6bc172cd 100755 --- a/tools/testing/selftests/rcutorture/bin/parse-console.sh +++ b/tools/testing/selftests/rcutorture/bin/parse-console.sh @@ -65,7 +65,7 @@ then fi grep --binary-files=text 'torture:.*ver:' $file | - egrep --binary-files=text -v '\(null\)|rtc: 000000000* ' | + grep -E --binary-files=text -v '\(null\)|rtc: 000000000* ' | sed -e 's/^(initramfs)[^]]*] //' -e 's/^\[[^]]*] //' | sed -e 's/^.*ver: //' | awk ' @@ -128,17 +128,17 @@ then then summary="$summary Badness: $n_badness" fi - n_warn=`grep -v 'Warning: unable to open an initial console' $file | grep -v 'Warning: Failed to add ttynull console. No stdin, stdout, and stderr for the init process' | egrep -c 'WARNING:|Warn'` + n_warn=`grep -v 'Warning: unable to open an initial console' $file | grep -v 'Warning: Failed to add ttynull console. No stdin, stdout, and stderr for the init process' | grep -E -c 'WARNING:|Warn'` if test "$n_warn" -ne 0 then summary="$summary Warnings: $n_warn" fi - n_bugs=`egrep -c '\bBUG|Oops:' $file` + n_bugs=`grep -E -c '\bBUG|Oops:' $file` if test "$n_bugs" -ne 0 then summary="$summary Bugs: $n_bugs" fi - n_kcsan=`egrep -c 'BUG: KCSAN: ' $file` + n_kcsan=`grep -E -c 'BUG: KCSAN: ' $file` if test "$n_kcsan" -ne 0 then if test "$n_bugs" = "$n_kcsan" @@ -158,7 +158,7 @@ then then summary="$summary lockdep: $n_badness" fi - n_stalls=`egrep -c 'detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state' $file` + n_stalls=`grep -E -c 'detected stalls on CPUs/tasks:|self-detected stall on CPU|Stall ended before state dump start|\?\?\? Writer stall state' $file` if test "$n_stalls" -ne 0 then summary="$summary Stalls: $n_stalls"