linux/tools/testing/selftests/rcutorture
Paul E. McKenney 7de1ca3526 torture: Accept time units on kvm.sh --duration argument
The "--duration <minutes>" has worked well for a very long time, but
it can be inconvenient to compute the minutes for (say) a 28-hour run.
It can also be annoying to have to let a simple boot test run for a full
minute.  This commit therefore permits an "s" suffix to specify seconds,
"m" to specify minutes (which remains the default), "h" suffix to specify
hours, and "d" to specify days.

With this change, "--duration 5" still specifies that each scenario
run for five minutes, but "--duration 30s" runs for only 30 seconds,
"--duration 8h" runs for eight hours, and "--duration 2d" runs for
two days.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2020-11-06 17:13:55 -08:00
..
bin torture: Accept time units on kvm.sh --duration argument 2020-11-06 17:13:55 -08:00
configs rcutorture: Adjust scenarios SRCU-t and SRCU-u to make kconfig happy 2020-11-06 17:13:52 -08:00
doc torture: Update initrd documentation 2020-08-24 18:45:33 -07:00
formal/srcu-cbmc .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile rcutorture: Provide rudimentary Makefile 2019-05-28 09:06:09 -07:00