torture: Record TORTURE_KCONFIG_GDB_ARG in qemu-cmd
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 12 Feb 2021 00:19:29 +0000 (16:19 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 22 Mar 2021 15:29:15 +0000 (08:29 -0700)
commitcc45716e07a41233b7c0b2183b0a3e60b85192e0
tree45931ac0b4ca18d50208d0da19f945658fa0e5f5
parent040accb3cd4ac4a8d151413f569b7ba6d918a19c
torture: Record TORTURE_KCONFIG_GDB_ARG in qemu-cmd

When re-running old rcutorture builds, if the original run involved
gdb, the re-run also needs to do so.  This commit therefore records the
TORTURE_KCONFIG_GDB_ARG environment variable into the qemu-cmd file so
that the re-run can access it.

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