torture: Don't redirect qemu-cmd comment lines
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 8 Jul 2021 00:11:09 +0000 (17:11 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 27 Jul 2021 18:41:32 +0000 (11:41 -0700)
commit8220a1184970b4ce983113cf48009fd8fea8c4a3
tree6e80962549e142dd972449b508731eaa7d6320b5
parentcdeef67d8feddbfe230bd0b95379e0487651a0e0
torture: Don't redirect qemu-cmd comment lines

Currently, kvm-test-1-run-qemu.sh applies redirection to each and every
line of each qemu-cmd script.  Only the first line (the only one that
is not a bash comment) needs to be redirected.  Although redirecting
the comments is currently harmless, just adding to the comment, it is
an accident waiting to happen.  This commit therefore adjusts the "sed"
command to redirect only the qemu-system* command itself.

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