]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf37b38a93c1d33f291757c1d8d719056445f386f
treefab31f1adbb2172f1abf6abf6ecc8690b7e106a9
parent10a643a501c40f749f45cac017f26ce27c174cc4
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]