diff options
author | Sydney Vanda <[email protected]> | 2016-09-23 13:51:08 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-02-28 16:25:39 -0800 |
commit | ec0e24c232cac7afa801ca8d247f212c24eb02a3 (patch) | |
tree | 4d9aba2b6be90aea7054ae9f19b6096aff917cf9 /zfs-script-config.sh.in | |
parent | 4859fe796c5b03687a7b2ab3735b882c4f5cad66 (diff) |
Add auto-online test for ZED/FMA as part of the ZTS
Automated auto-online test to go along with ZED FMA integration (PR 4673)
auto_online_001.pos works with real devices (sd- and mpath) and with non-real
block devices (loop) by adding a scsi_debug device to the pool
Note: In order for test group to run, ZED must not currently be running.
Kernel 3.16.37 or higher needed for scsi_debug to work properly
If timeout occurs on test using a scsi_debug device (error noticed on Ubuntu
system), a reboot might be needed in order for test to pass. (more
investigation into this)
Also suppressed output from is_real_device/is_loop_device/is_mpath_device -
was making the log file very cluttered with useless error messages
"ie /dev/mapper/sdc is not a block device" from previous patch
Reviewed-by: Don Brady <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: David Quigley <[email protected]>
Signed-off-by: Sydney Vanda <[email protected]>
Closes #5774
Diffstat (limited to 'zfs-script-config.sh.in')
-rw-r--r-- | zfs-script-config.sh.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zfs-script-config.sh.in b/zfs-script-config.sh.in index 663f8346d..c5b575b24 100644 --- a/zfs-script-config.sh.in +++ b/zfs-script-config.sh.in @@ -20,6 +20,7 @@ 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 ZDB=${CMDDIR}/zdb/zdb export ZFS=${CMDDIR}/zfs/zfs @@ -32,6 +33,7 @@ export RAIDZ_TEST=${CMDDIR}/raidz_test/raidz_test export ARC_SUMMARY=${CMDDIR}/arc_summary/arc_summary.py export ARCSTAT=${CMDDIR}/arcstat/arcstat.py export DBUFSTAT=${CMDDIR}/dbufstat/dbufstat.py +export ZED=${CMDDIR}/zed/zed export COMMON_SH=${SCRIPTDIR}/common.sh export ZFS_SH=${SCRIPTDIR}/zfs.sh |