torture: Fix grace-period rate output
authorPaul E. McKenney <paulmck@kernel.org>
Sun, 14 Mar 2021 22:19:59 +0000 (15:19 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 10 May 2021 23:05:06 +0000 (16:05 -0700)
commit32dbdaf71ab9b606d0649616039c897df2b03e47
tree29c81bddc269cac8662ac80820fce942bb50feae
parenta5c095e0e9b6fedcffd0907c84f77751128e2a34
torture: Fix grace-period rate output

The kvm-again.sh script relies on shell comments added to the qemu-cmd
file, but this means that code extracting values from the QEMU command in
this file must grep out those commment.  Which kvm-recheck-rcu.sh failed
to do, which destroyed its grace-period-per-second calculation.  This
commit therefore adds the needed "grep -v '^#'" to kvm-recheck-rcu.sh.

Fixes: 315957cad445 ("torture: Prepare for splitting qemu execution from kvm-test-1-run.sh")
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh