torture: Capture qemu output
authorPaul E. McKenney <paulmck@linux.ibm.com>
Wed, 24 Apr 2019 11:39:10 +0000 (04:39 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 28 May 2019 16:06:09 +0000 (09:06 -0700)
commit7dedfd4335f7b795d12191d03626212ff71e52aa
tree0678e52ebd41aab1a0a72cd4b6e22d389a31d916
parenta6fda6dab93c2c06ef4b8cb4b9258df6674d2438
torture: Capture qemu output

Currently qemu output appears on standard output, but is inaccessible
later on.  This commit therefore captures this output and causes
kvm-recheck.sh to output this output if QEMU gave a non-zero non-137
exit code.  (And exit code of 137 indicates that QEMU was killed, in
which case we want to know about the hang rather than the fact that
QEMU was killed.)

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