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@linutronix.de> Reviewed-by: Benedikt Spranger <b.spranger@linutronix.de> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
06dc8d4591
commit
01f9e708d9
|
@ -133,7 +133,7 @@ then
|
||||||
then
|
then
|
||||||
summary="$summary Warnings: $n_warn"
|
summary="$summary Warnings: $n_warn"
|
||||||
fi
|
fi
|
||||||
n_bugs=`egrep -c 'BUG|Oops:' $file`
|
n_bugs=`egrep -c '\bBUG|Oops:' $file`
|
||||||
if test "$n_bugs" -ne 0
|
if test "$n_bugs" -ne 0
|
||||||
then
|
then
|
||||||
summary="$summary Bugs: $n_bugs"
|
summary="$summary Bugs: $n_bugs"
|
||||||
|
|
Loading…
Reference in New Issue