torture: Add "--no-" as synonym for "--do-no-" in torture.sh
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 7 Jun 2023 21:10:40 +0000 (14:10 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 14 Jul 2023 22:10:56 +0000 (15:10 -0700)
commit0feda4da6da5ce5d2094df406a8c5090e8403bf3
tree043e94c6b729e22181e8ad6c4ae3da4ad260064b
parent1304affd35739d83b4089a297d39ab08f1624158
torture: Add "--no-" as synonym for "--do-no-" in torture.sh

In order to (for example) omit the real-time testing that torture.sh would
otherwise carry out, you put "--do-no-rt" on the torture.sh command line.
This works, but it is all too easy to instead type "--no-rt".  This is
unambiguous and easier to type, so this commit therefore allows all
"--no-" arguments as synonyms for their "--do-no-" counterparts.

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