zfs/scripts
Brian Behlendorf cd0a89ded9 Extend zloop.sh for automated testing
In order to debug issues encountered by ztest during automated
testing it's important that as much debugging information as
possible by dumped at the time of the failure.  The following
changes extend the zloop.sh script in order to make it easier
to integrate with buildbot.

* Add the `-m <maximum cores>` option to zloop.sh to place a
  limit of the number of core dumps generated.  By default, the
  existing behavior is maintained and no limit is set.

* Add the `-l` option to create a 'ztest.core.N' symlink in the
  current directory to the core directory. This functionality
  is provided primarily for buildbot which expects log files to
  have well known names.

* Rename 'ztest.ddt' to 'ztest.zdb' and extend it to dump
  additional basic information on failure for latter analysis.

Reviewed-by: Tim Chase <tim@chase2k.com>
Reviewed by: Thomas Caputi <tcaputi@datto.com>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6999
2018-01-25 13:42:34 -08: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
Makefile.am Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00
commitcheck.sh Fix shellcheck v0.4.6 warnings 2018-01-17 10:17:16 -08:00
common.sh.in Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00
cstyle.pl OpenZFS 8794 - cstyle generates warnings with recent perl 2017-12-19 12:54:08 -08:00
dkms.mkconf Enable QAT support in zfs-dkms RPM 2017-12-14 12:44:27 -05:00
dkms.postbuild Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00
kmodtool Set LANG to a reasonable default (C) 2014-06-10 16:46:21 -07:00
paxcheck.sh Enable shellcheck to run for select scripts 2017-03-09 10:20:15 -08:00
zfs-helpers.sh Correct shellcheck errors 2017-09-18 14:23:09 -07:00
zfs-tests.sh Fix zfs-tests.sh single test functionality 2017-11-07 14:55:31 -08:00
zfs.sh Fix shellcheck v0.4.6 warnings 2018-01-17 10:17:16 -08:00
zfs2zol-patch.sed Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
zimport.sh Fix shellcheck v0.4.6 warnings 2018-01-17 10:17:16 -08:00
zloop.sh Extend zloop.sh for automated testing 2018-01-25 13:42:34 -08:00
zol2zfs-patch.sed Add a script to change file names when upstreaming to OpenZFS/illumos 2016-09-29 21:01:50 -07:00