torture: Fold parse-torture.sh into parse-console.sh
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 2 Mar 2018 00:41:26 +0000 (16:41 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 15 May 2018 17:32:04 +0000 (10:32 -0700)
commitd600e06ba73034da215191a90002296a41eb0cf1
treefab31f1adbb2172f1abf6abf6ecc8690b7e106a9
parent95ce5f29e14f553563ca8c3ec683a05fdd53cbd9
torture: Fold parse-torture.sh into parse-console.sh

The rcutorture scripting scans the console output twice, once to look
for various sorts of hangs and again to find warnings and panics.
Unfortunately, only the output of the second scan gets written to the
console.log.diags file, which can cause hangs to be overlooked.
This commit therefore folds the parse-torture.sh script (which looks
for hangs) into the parse-console.sh script (which looks for warnings
and panics).  This allows both types of failure information to be
added to console.log.diags, while still reliably removing this file
when it proves to be empty.

This also fixes a long-standing bug where rcuperf log files would
unconditionally complain about a hang.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Nicholas Piggin <npiggin@gmail.com>
tools/testing/selftests/rcutorture/bin/kvm-recheck.sh
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh
tools/testing/selftests/rcutorture/bin/parse-console.sh
tools/testing/selftests/rcutorture/bin/parse-torture.sh [deleted file]