rcutorture: Handle non-statistic bang-string error messages
authorPaul E. McKenney <paulmck@kernel.org>
Sun, 26 Apr 2020 23:51:56 +0000 (16:51 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:01:44 +0000 (12:01 -0700)
commit59359e4f2a0906920389ec1e33296ac9a19178ba
tree51dece3765f96abb629a92b06ab334e1712eff21
parent61251d6899803594a108c3165aeb072c73e09cc8
rcutorture: Handle non-statistic bang-string error messages

The current console parsing assumes that console lines containing "!!!"
are statistics lines from which it can parse the number of rcutorture
too-short grace-period failures.  This prints confusing output for
other problems, including memory exhaustion.  This commit therefore
differentiates between these cases and prints an appropriate error string.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/parse-console.sh