torture: Simplify exit-code plumbing for kvm-recheck.sh and kvm-find-errors.sh
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 21 Dec 2020 00:52:29 +0000 (16:52 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 4 Jan 2021 22:01:24 +0000 (14:01 -0800)
commit365dc5cb62c8714e27554e44464f6e0e9c1fdbdf
tree84bd8ca0d582d9f870d2953c2e6d2a15ec0d8117
parentc821f855f625f763a87c49f413aa4f60974b5071
torture: Simplify exit-code plumbing for kvm-recheck.sh and kvm-find-errors.sh

This commit simplifies exit-code plumbing.  It makes kvm-recheck.sh return
the value 1 for a build error and 2 for a runtime error.  It also makes
kvm-find-errors.sh avoid checking runtime files for --build-only runs.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh
tools/testing/selftests/rcutorture/bin/kvm-recheck.sh