aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/bin/torture.sh
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-05-11 13:27:22 -0700
committerPaul E. McKenney <paulmck@kernel.org>2021-07-20 13:45:50 -0700
commit4988486c875f6da5bb4b1d834ce9135ca1b0dee6 (patch)
tree0d6eef240985a25af14a54831d33d86d5b884d22 /tools/testing/selftests/rcutorture/bin/torture.sh
parenttorture: Add clocksource-watchdog testing to torture.sh (diff)
downloadlinux-dev-4988486c875f6da5bb4b1d834ce9135ca1b0dee6.tar.xz
linux-dev-4988486c875f6da5bb4b1d834ce9135ca1b0dee6.zip
torture: Make torture.sh accept --do-all and --donone
Currently, torture.sh accepts --doall on the one hand and --do-none on the other, which is a bit inconsistent. This commit therefore adds --do-all and --donone so that a fully consistent test may be used. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/torture.sh')
-rwxr-xr-xtools/testing/selftests/rcutorture/bin/torture.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/torture.sh b/tools/testing/selftests/rcutorture/bin/torture.sh
index 94802ddfb7a6..f1d1dff71590 100755
--- a/tools/testing/selftests/rcutorture/bin/torture.sh
+++ b/tools/testing/selftests/rcutorture/bin/torture.sh
@@ -111,7 +111,7 @@ do
configs_scftorture="$configs_scftorture $2"
shift
;;
- --doall)
+ --do-all|--doall)
do_allmodconfig=yes
do_rcutorture=yes
do_locktorture=yes
@@ -141,7 +141,7 @@ do
--do-locktorture|--do-no-locktorture)
do_locktorture=`doyesno "$1" --do-locktorture`
;;
- --do-none)
+ --do-none|--donone)
do_allmodconfig=no
do_rcutorture=no
do_locktorture=no