torture: Don't kill gdb sessions
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 28 Aug 2020 13:46:03 +0000 (06:46 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 3 Nov 2020 01:13:30 +0000 (17:13 -0800)
commit08c7974293851da6a64989b5ce7a0750e58178b1
treebc157bb5d6d7312d2d7d605374fde4ccc3f0d06a
parent0c6d18d84db11840dd0f3f65750c6ea0bb6b8e0d
torture: Don't kill gdb sessions

The rcutorture scripting will do a "kill -9" on any guest OS that exceeds
its --duration by more than a few minutes, which is very valuable when
bugs result in hangs.  However, this is a problem when the "hang" was due
to a --gdb debugging session.

This commit therefore refrains from killing the guest OS when a debugging
session is in progress.  This means that the user must manually kill the
kvm.sh process group if a hang really does occur.

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