diff options
author | Brian Behlendorf <[email protected]> | 2017-05-18 15:57:21 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-05-22 12:34:42 -0400 |
commit | 3f03fc8df3e74b3d9ee6eb3bd8bb656898ed7272 (patch) | |
tree | 901c297b5ff5ad3861643dbcf793c7cf58054da5 /tests/runfiles | |
parent | 5a6d6cf839fe547f2007912f60eac23827b4a8de (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 'tests/runfiles')
-rw-r--r-- | tests/runfiles/linux.run | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index e83a9ed0f..7e64c6714 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -344,6 +344,9 @@ tests = ['zfs_allow_001_pos', 'zfs_allow_002_pos', [tests/functional/devices] tests = ['devices_001_pos', 'devices_002_neg', 'devices_003_pos'] +[tests/functional/events] +tests = ['events_001_pos', 'events_002_pos'] + [tests/functional/exec] tests = ['exec_001_pos', 'exec_002_neg'] |