torture: Make kvm-recheck-lock.sh tolerate qemu-cmd comments
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 15 Jun 2021 23:31:16 +0000 (16:31 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 20 Jul 2021 20:45:50 +0000 (13:45 -0700)
commitb9b300c64da8d25cd8be6c00a8daf11d76838ba6
tree8e2798c2add71b8c90164ee5c570c21ae030fa3b
parent1dccc5a3272eb7fc215fc30b8e5d6cb5a6c99fac
torture: Make kvm-recheck-lock.sh tolerate qemu-cmd comments

The qemu-cmd file can contain comments that are not relevant to the
operation of kvm-recheck-lock.sh.  This commit therefore strips these
comments before looking for timing information.

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