torture: Permit multiple space characters in kvm.sh --kconfig argument
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 15 May 2025 22:25:42 +0000 (15:25 -0700)
committerNeeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
Wed, 25 Jun 2025 03:09:35 +0000 (08:39 +0530)
commit4176ebdf97d1ad08e205ec97a8f5b66f9efa70bf
treec11b690bb10dd05916205b9f19e37dbe3e425fac
parente40e2391388d8db623fd2ac92d7750648155e9d3
torture: Permit multiple space characters in kvm.sh --kconfig argument

The straightforward way of doing bash substitution for optional strings
leaves a pair of space characters, which the kvm.sh --kconfig option
rejects as ill-formed.  This commit therefore changes the corresponding
regular expression to accommodate more than one space character between
successive Kconfig options.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm.sh