torture: Declare parse-console.sh independence from rcutorture
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 30 Jun 2020 20:37:22 +0000 (13:37 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 25 Aug 2020 01:38:31 +0000 (18:38 -0700)
commit687d4775db56d24c81b4704056186d6c506de30d
tree2a059b059c6ec0351312aa0b6c3b5f37b368efcf
parente9d338a0b1799c988b678e8ccb66a442272e6aa3
torture: Declare parse-console.sh independence from rcutorture

Currently, parse-torture.sh looks at the fifth field of torture-test
console output for the version number.  This works fine for rcutorture,
but not for scftorture, which lacks the pointer field.  This commit
therefore adjusts matching lines so that the parse-console.sh awk script
always sees the version number as the first field in the lines passed
to it.

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