]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda32edbb048cb3f9cafa06c4bf7419f07fca3762
tree6e76b86df38f867ecc6c98de236dfd1f32e77570
parent2be8771cb792f88fd9ef02b1781233c76198f1c7
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