diff options
author | Sydney Vanda <[email protected]> | 2017-03-02 09:47:26 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-04-05 16:18:19 -0700 |
commit | 7a4500a10102c00a67442628df2ac2395484757e (patch) | |
tree | 39eed4a62156f55f1e7911dd0df78d149e805a5b /tests/runfiles/linux.run | |
parent | 6ba1ce9ee9741b1ce65f4a71549099d94392012e (diff) |
Added auto-replace FMA test for the ZFS Test Suite
Also included are updates to auto-online test
Automated auto-replace test to go along with ZED FMA integration
(PR 4673) auto-replace_001.pos works using a scsi_debug device
(the only usable virtual device currently due to whole_disk var
needing to be set)
Functionality for automated FMA auto-replace test to work with
scsi_debug devs: Some functionality/exceptions needed to be
added for automation of auto-replace to work correctly.
In the test an alias vdev_id rule is added for any scsi_debug
device which sets the phys_path="scsidebug" after a udevadm
trigger command.
A symlink is created for the vdev_id.conf file (in /etc/zfs/ by
default) to be used in-tree for the test suite
(/var/tmp/zfs/vdev_id.conf). "./scripts/zfs-helpers.sh -i" needs
to be run before fault tests in the ZTS (to use udev rules in-tree)
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Don Brady <[email protected]>
Reviewed-by: David Quigley <[email protected]>
Signed-off-by: Sydney Vanda <[email protected]>
Closes #5944
Diffstat (limited to 'tests/runfiles/linux.run')
-rw-r--r-- | tests/runfiles/linux.run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 73f19ecfa..d8e39d01c 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -412,7 +412,7 @@ tests = ['devices_003_pos'] tests = ['exec_001_pos'] [tests/functional/fault] -tests = ['auto_online_001_pos'] +tests = ['auto_online_001_pos', 'auto_replace_001_pos'] [tests/functional/features/async_destroy] tests = ['async_destroy_001_pos'] |