aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-08-25 20:12:09 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-10-06 14:28:26 -0400
commita8c06024d0b557b465ad40b87ef0b51a428f99fd (patch)
tree5ddb2fcc2f0bdda3a2f73665dbd6035eff82b246 /tools/testing/selftests
parent4f441a258f7badf752b3d9b04b675869ca4e751c (diff)
torture: Forgive non-plural arguments
This commit allows --bootarg instead of --bootargs, --config instead of --configs, and --qemu-arg instead of --qemu-args. For those cases where a native English speaker might auto-correct the argument to be incorrect. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'tools/testing/selftests')
-rwxr-xr-xtools/testing/selftests/rcutorture/bin/kvm.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh
index fbe2dbff1e21..f6483609ebc2 100755
--- a/tools/testing/selftests/rcutorture/bin/kvm.sh
+++ b/tools/testing/selftests/rcutorture/bin/kvm.sh
@@ -75,7 +75,7 @@ usage () {
75while test $# -gt 0 75while test $# -gt 0
76do 76do
77 case "$1" in 77 case "$1" in
78 --bootargs) 78 --bootargs|--bootarg)
79 checkarg --bootargs "(list of kernel boot arguments)" "$#" "$2" '.*' '^--' 79 checkarg --bootargs "(list of kernel boot arguments)" "$#" "$2" '.*' '^--'
80 TORTURE_BOOTARGS="$2" 80 TORTURE_BOOTARGS="$2"
81 shift 81 shift
@@ -88,7 +88,7 @@ do
88 --buildonly) 88 --buildonly)
89 TORTURE_BUILDONLY=1 89 TORTURE_BUILDONLY=1
90 ;; 90 ;;
91 --configs) 91 --configs|--config)
92 checkarg --configs "(list of config files)" "$#" "$2" '^[^/]*$' '^--' 92 checkarg --configs "(list of config files)" "$#" "$2" '^[^/]*$' '^--'
93 configs="$2" 93 configs="$2"
94 shift 94 shift
@@ -134,7 +134,7 @@ do
134 --no-initrd) 134 --no-initrd)
135 TORTURE_INITRD=""; export TORTURE_INITRD 135 TORTURE_INITRD=""; export TORTURE_INITRD
136 ;; 136 ;;
137 --qemu-args) 137 --qemu-args|--qemu-arg)
138 checkarg --qemu-args "-qemu args" $# "$2" '^-' '^error' 138 checkarg --qemu-args "-qemu args" $# "$2" '^-' '^error'
139 TORTURE_QEMU_ARG="$2" 139 TORTURE_QEMU_ARG="$2"
140 shift 140 shift