]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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>
Tue, 6 Apr 2021 23:07:13 +0000 (16:07 -0700)
commitc49e47057e8cc86a2e85016c5583c6402189aae6
tree8dc24b202abed0539484a64b008480233b6d2e4f
parent241a45012d5df0bfad807f0b7028236f0ed2cbdb
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