[<prev] [next>] [day] [month] [year] [list]
Message-ID: <160788606660.3364.3387967143308615584.tip-bot2@tip-bot2>
Date: Sun, 13 Dec 2020 19:01:06 -0000
From: "tip-bot2 for Anna-Maria Behnsen" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: "Anna-Maria Behnsen" <anna-maria@...utronix.de>,
Benedikt Spranger <b.spranger@...utronix.de>,
"Paul E. McKenney" <paulmck@...nel.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: core/rcu] tools/rcutorture: Fix BUG parsing of console.log
The following commit has been merged into the core/rcu branch of tip:
Commit-ID: 01f9e708d9eae6335ae9ff25ab09893c20727a55
Gitweb: https://git.kernel.org/tip/01f9e708d9eae6335ae9ff25ab09893c20727a55
Author: Anna-Maria Behnsen <anna-maria@...utronix.de>
AuthorDate: Mon, 02 Nov 2020 18:12:20 +01:00
Committer: Paul E. McKenney <paulmck@...nel.org>
CommitterDate: Fri, 06 Nov 2020 17:13:58 -08:00
tools/rcutorture: Fix BUG parsing of console.log
For the rcutorture test summary log file console.log of virtual machines is
parsed. When a console.log contains "DEBUG", BUG counter is incremented
because regular expression does not handle to ignore DEBUG.
Signed-off-by: Anna-Maria Behnsen <anna-maria@...utronix.de>
Reviewed-by: Benedikt Spranger <b.spranger@...utronix.de>
Signed-off-by: Paul E. McKenney <paulmck@...nel.org>
---
tools/testing/selftests/rcutorture/bin/parse-console.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/rcutorture/bin/parse-console.sh b/tools/testing/selftests/rcutorture/bin/parse-console.sh
index e033380..263b1be 100755
--- a/tools/testing/selftests/rcutorture/bin/parse-console.sh
+++ b/tools/testing/selftests/rcutorture/bin/parse-console.sh
@@ -133,7 +133,7 @@ then
then
summary="$summary Warnings: $n_warn"
fi
- n_bugs=`egrep -c 'BUG|Oops:' $file`
+ n_bugs=`egrep -c '\bBUG|Oops:' $file`
if test "$n_bugs" -ne 0
then
summary="$summary Bugs: $n_bugs"
Powered by blists - more mailing lists