torture: Make kvm-find-errors.sh and kvm-recheck.sh provide exit status
authorPaul E. McKenney <paulmck@linux.ibm.com>
Thu, 11 Apr 2019 20:31:57 +0000 (13:31 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 28 May 2019 16:06:09 +0000 (09:06 -0700)
commit63b29eaed6f57c27639b2954ac1f202409840abf
tree6e76b86df38f867ecc6c98de236dfd1f32e77570
parentff3bf92d90d396e51eb78c5ecde11a994ab7a179
torture: Make kvm-find-errors.sh and kvm-recheck.sh provide exit status

This commit causes both kvm-find-errors.sh and kvm-recheck.sh to provide
an exit status based on whether or not errors were located.  In the
case of kvm-recheck.sh, this will be the error status of the last run.
This change allows these commands to be used in scripting and Makefiles
to automatically report failed rcutorture runs.

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