mirror_zfs/scripts
Ryan Moeller 729eb48666 zloop: Add a max iterations option, use default run/pass times
It is useful to have control over the number of iterations of zloop so
we can easily produce "x core dumps found *in y iterations*" metrics.

Using random values for run/pass times doesn't improve coverage in a
meaningful way.

Randomizing run time could be seen as a compromise between running a
greater variety of shorter tests versus a smaller variety of longer
tests within a fixed time span.  However, it is not desirable when
running a fixed number of iterations.

Pass time already incorporates randomness within ztest.

Either parameter can be passed to ztest explicitly if the defaults are
not satisfactory.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #12411
2021-09-14 12:40:45 -07:00
..
zfs-images@3331601f6d Add zimport.sh compatibility test script 2014-02-21 12:10:31 -08:00
.gitignore Remove autotools products 2012-08-27 11:47:44 -07:00
commitcheck.sh Fix SC2181 ("[ $?") outside tests/ 2021-06-08 14:45:03 -07:00
common.sh.in zpool_influxdb: move to libexec dir 2020-11-28 11:15:57 -08:00
cstyle.pl cstyle.pl: echo commands for github workflow 2020-08-13 14:58:53 -07:00
dkms.mkconf Turn shellcheck into a normal make target. Fix new files it caught 2021-06-09 13:05:34 -07:00
dkms.postbuild Turn shellcheck into a normal make target. Fix new files it caught 2021-06-09 13:05:34 -07:00
enum-extract.pl Fix free memory calculation on v3.14+ 2018-02-23 08:50:06 -08:00
kmodtool Turn shellcheck into a normal make target. Fix new files it caught 2021-06-09 13:05:34 -07:00
make_gitrev.sh Fix minor shellcheck 0.7.2 warnings 2021-06-10 10:50:16 -07:00
Makefile.am mancheck: accept lints, accept lint overrides 2021-06-09 13:05:34 -07:00
man-dates.sh Fix minor shellcheck 0.7.2 warnings 2021-06-10 10:50:16 -07:00
mancheck.sh Modernise/fix/rewrite unlinted manpages 2021-06-09 13:05:34 -07:00
paxcheck.sh Turn checkbashisms into a make target 2021-06-09 13:05:34 -07:00
zfs2zol-patch.sed Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
zfs-helpers.sh Remove draid.d symlink from zfs_helpers.sh 2020-12-11 11:00:58 -08:00
zfs-tests.sh Trim excess shellcheck annotations. Widen to all non-Korn scripts 2021-06-08 14:46:31 -07:00
zfs.sh Fix SC2181 ("[ $?") outside tests/ 2021-06-08 14:45:03 -07:00
zimport.sh Trim excess shellcheck annotations. Widen to all non-Korn scripts 2021-06-08 14:46:31 -07:00
zloop.sh zloop: Add a max iterations option, use default run/pass times 2021-09-14 12:40:45 -07:00
zol2zfs-patch.sed Move properties, parameters, events, and concepts around manual sections 2021-06-10 10:50:16 -07:00