summaryrefslogtreecommitdiffstats
path: root/zfs-script-config.sh.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-05-18 15:57:21 -0400
committerBrian Behlendorf <[email protected]>2017-05-22 12:34:42 -0400
commit3f03fc8df3e74b3d9ee6eb3bd8bb656898ed7272 (patch)
tree901c297b5ff5ad3861643dbcf793c7cf58054da5 /zfs-script-config.sh.in
parent5a6d6cf839fe547f2007912f60eac23827b4a8de (diff)
Add zpool events tests
* events_001_pos - Verify the expected events are generated when invoking the various zpool sub-commands. These events must appear in `zpool event` and be consumed by the ZED. * events_002_pos - Verify the ZED consumes events which were generated while it wasn't running when it is started. Additionally, verify that events are only processed once. As part of this change the default.cfg used by the test suite was changed to a default.cfg.in file. This was needed so the install location of all zed scripts, not only the enabled ones, could be reliably determined. Signed-off-by: Brian Behlendorf <[email protected]> Closes #6128
Diffstat (limited to 'zfs-script-config.sh.in')
-rw-r--r--zfs-script-config.sh.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/zfs-script-config.sh.in b/zfs-script-config.sh.in
index dffab23ef..593b4d00e 100644
--- a/zfs-script-config.sh.in
+++ b/zfs-script-config.sh.in
@@ -20,8 +20,10 @@ export ETCDIR=${SRCDIR}/etc
export TESTSDIR=${SRCDIR}/tests
export RUNFILEDIR=${TESTSDIR}/runfiles
export UDEVRULEDIR=${BUILDDIR}/udev/rules.d
-export ZEDLETDIR=${SRCDIR}/cmd/zed/zed.d
-export ZPOOLSCRIPTDIR=${SRCDIR}/cmd/zpool/zpool.d
+
+export ZEDLET_ETC_DIR=${SRCDIR}/cmd/zed/zed.d
+export ZEDLET_LIBEXEC_DIR=${SRCDIR}/cmd/zed/zed.d
+export ZPOOL_SCRIPT_DIR=${SRCDIR}/cmd/zpool/zpool.d
export ZDB=${CMDDIR}/zdb/zdb
export ZFS=${CMDDIR}/zfs/zfs