freebsd-nq/scripts
Brian Behlendorf 133a5c6598 zimport.sh: Allow custom pool create options
Allow custom options to be passed to 'zpool create` when creating
a new pool.

Normally zimport.sh is intented to prevent accidentally introduced
incompatibilities so we want the default behavior.  However, when
introducing a known incompatibility with a feature flag we need a
way to disable the feature.  By adding a line like the following
to the commit message the feature can be disabled allowing the
pool to be compatibile with older versions.

TEST_ZIMPORT_CREATE_OPTIONS="-o feature@encryption=disabled"

* Additionally fix /dev/nul -> /dev/null typo and minor white space
  formating issues.

* Updated fail function to print a message and exit with 1 for use
  by the buildbot.

* Silence warnings when zlib_inflate / zlib_default modules don't
  exist.  This can happen when they're build in to the kernel.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6520
2017-08-21 10:00:12 -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 Prevent commitcheck.sh from running twice 2017-04-03 14:20:01 -07:00
common.sh.in Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00
cstyle.pl OpenZFS 7348 - cstyle can't handle ellipsis on continuation line 2017-01-26 12:40:22 -08:00
dkms.mkconf Retire legacy test infrastructure 2017-08-15 17:26:38 -07: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
Makefile.am Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00
paxcheck.sh Enable shellcheck to run for select scripts 2017-03-09 10:20:15 -08:00
zfs2zol-patch.sed Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
zfs-helpers.sh Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00
zfs-tests.sh Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00
zfs.sh zimport.sh: Allow custom pool create options 2017-08-21 10:00:12 -07:00
zimport.sh zimport.sh: Allow custom pool create options 2017-08-21 10:00:12 -07:00
zloop.sh Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00
zol2zfs-patch.sed Add a script to change file names when upstreaming to OpenZFS/illumos 2016-09-29 21:01:50 -07:00