diff options
author | Ryan Moeller <[email protected]> | 2020-01-27 16:29:25 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-01-27 13:29:25 -0800 |
commit | e4c439021f09352ee757cb508fda061586f4664b (patch) | |
tree | dba9580503c58faa73b401eea5860a5a2dd7cd22 /tests/runfiles | |
parent | a3403164d700e0c32dd89ba09bbcaf48bdee47f2 (diff) |
ZTS: Move more tests out of common.run
These tests won't run on all platforms as currently implemented:
* add_nested_replacing_spare (needs zed)
* fault (needs zed)
* mmp (needs multihost_history)
* umount_unlink_drained (needs procfs)
* zpool_expand (needs udev events and zed)
* zpool_reopen (needs scsi_debug)
* zvol_swap_003_pos (needs to modify vfstab)
* zvol_swap_00[56]_pos (needs swaphigh/swaplen)
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #9871
Diffstat (limited to 'tests/runfiles')
-rw-r--r-- | tests/runfiles/common.run | 31 | ||||
-rw-r--r-- | tests/runfiles/linux.run | 31 | ||||
-rw-r--r-- | tests/runfiles/sunos.run | 4 |
3 files changed, 37 insertions, 29 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run index e1315902b..72745bfa7 100644 --- a/tests/runfiles/common.run +++ b/tests/runfiles/common.run @@ -290,7 +290,7 @@ tags = ['functional', 'cli_root', 'zpool'] tests = ['zpool_add_001_pos', 'zpool_add_002_pos', 'zpool_add_003_pos', 'zpool_add_004_pos', 'zpool_add_006_pos', 'zpool_add_007_neg', 'zpool_add_008_neg', 'zpool_add_009_neg', 'zpool_add_010_pos', - 'add-o_ashift', 'add_prop_ashift', 'add_nested_replacing_spare'] + 'add-o_ashift', 'add_prop_ashift'] tags = ['functional', 'cli_root', 'zpool_add'] [tests/functional/cli_root/zpool_attach] @@ -329,11 +329,6 @@ tags = ['functional', 'cli_root', 'zpool_destroy'] tests = ['zpool_detach_001_neg'] tags = ['functional', 'cli_root', 'zpool_detach'] -[tests/functional/cli_root/zpool_expand] -tests = ['zpool_expand_001_pos', 'zpool_expand_002_pos', - 'zpool_expand_003_neg', 'zpool_expand_004_pos', 'zpool_expand_005_pos'] -tags = ['functional', 'cli_root', 'zpool_expand'] - [tests/functional/cli_root/zpool_export] tests = ['zpool_export_001_pos', 'zpool_export_002_pos', 'zpool_export_003_neg', 'zpool_export_004_pos'] @@ -409,12 +404,6 @@ tests = ['zpool_remove_001_neg', 'zpool_remove_002_pos', 'zpool_remove_003_pos'] tags = ['functional', 'cli_root', 'zpool_remove'] -[tests/functional/cli_root/zpool_reopen] -tests = ['zpool_reopen_001_pos', 'zpool_reopen_002_pos', - 'zpool_reopen_003_pos', 'zpool_reopen_004_pos', 'zpool_reopen_005_pos', - 'zpool_reopen_006_neg', 'zpool_reopen_007_pos'] -tags = ['functional', 'cli_root', 'zpool_reopen'] - [tests/functional/cli_root/zpool_replace] tests = ['zpool_replace_001_neg', 'replace-o_ashift', 'replace_prop_ashift'] tags = ['functional', 'cli_root', 'zpool_replace'] @@ -551,12 +540,6 @@ tags = ['functional', 'delegate'] tests = ['exec_001_pos', 'exec_002_neg'] tags = ['functional', 'exec'] -[tests/functional/fault] -tests = ['auto_offline_001_pos', 'auto_online_001_pos', 'auto_replace_001_pos', - 'auto_spare_001_pos', 'auto_spare_002_pos', 'auto_spare_multiple', - 'auto_spare_shared', 'decrypt_fault', 'decompress_fault'] -tags = ['functional', 'fault'] - [tests/functional/features/async_destroy] tests = ['async_destroy_001_pos'] tags = ['functional', 'features', 'async_destroy'] @@ -627,15 +610,8 @@ tags = ['functional', 'migration'] tests = ['mmap_write_001_pos', 'mmap_read_001_pos'] tags = ['functional', 'mmap'] -[tests/functional/mmp] -tests = ['mmp_on_thread', 'mmp_on_uberblocks', 'mmp_on_off', 'mmp_interval', - 'mmp_active_import', 'mmp_inactive_import', 'mmp_exported_import', - 'mmp_write_uberblocks', 'mmp_reset_interval', 'multihost_history', - 'mmp_on_zdb', 'mmp_write_distribution', 'mmp_hostid'] -tags = ['functional', 'mmp'] - [tests/functional/mount] -tests = ['umount_001', 'umount_unlinked_drain', 'umountall_001'] +tests = ['umount_001', 'umountall_001'] tags = ['functional', 'mount'] [tests/functional/mv_files] @@ -888,8 +864,7 @@ tests = ['zvol_misc_002_pos', 'zvol_misc_hierarchy', 'zvol_misc_rename_inuse', tags = ['functional', 'zvol', 'zvol_misc'] [tests/functional/zvol/zvol_swap] -tests = ['zvol_swap_001_pos', 'zvol_swap_002_pos', 'zvol_swap_003_pos', - 'zvol_swap_004_pos', 'zvol_swap_005_pos', 'zvol_swap_006_pos'] +tests = ['zvol_swap_001_pos', 'zvol_swap_002_pos', 'zvol_swap_004_pos'] tags = ['functional', 'zvol', 'zvol_swap'] [tests/functional/libzfs] diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index b4322991e..669750913 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -55,11 +55,26 @@ tests = ['zfeature_set_unsupported', 'zfs_get_unsupported', 'zpool_set_unsupported'] tags = ['functional', 'cli_root', 'zfs_sysfs'] +[tests/functional/cli_root/zpool_add:Linux] +tests = ['add_nested_replacing_spare'] +tags = ['functional', 'cli_root', 'zpool_add'] + [tests/functional/cli_root/zpool_events:Linux] tests = ['zpool_events_clear', 'zpool_events_cliargs', 'zpool_events_follow', 'zpool_events_poolname', 'zpool_events_errors'] tags = ['functional', 'cli_root', 'zpool_events'] +[tests/functional/cli_root/zpool_expand:Linux] +tests = ['zpool_expand_001_pos', 'zpool_expand_002_pos', + 'zpool_expand_003_neg', 'zpool_expand_004_pos', 'zpool_expand_005_pos'] +tags = ['functional', 'cli_root', 'zpool_expand'] + +[tests/functional/cli_root/zpool_reopen:Linux] +tests = ['zpool_reopen_001_pos', 'zpool_reopen_002_pos', + 'zpool_reopen_003_pos', 'zpool_reopen_004_pos', 'zpool_reopen_005_pos', + 'zpool_reopen_006_neg', 'zpool_reopen_007_pos'] +tags = ['functional', 'cli_root', 'zpool_reopen'] + [tests/functional/compression:Linux] tests = ['compress_004_pos'] tags = ['functional', 'compression'] @@ -79,7 +94,10 @@ tests = ['events_001_pos', 'events_002_pos', 'zed_rc_filter'] tags = ['functional', 'events'] [tests/functional/fault:Linux] -tests = ['auto_spare_ashift', 'scrub_after_resilver', 'zpool_status_-s'] +tests = ['auto_offline_001_pos', 'auto_online_001_pos', 'auto_replace_001_pos', + 'auto_spare_001_pos', 'auto_spare_002_pos', 'auto_spare_multiple', + 'auto_spare_ashift', 'auto_spare_shared', 'decrypt_fault', + 'decompress_fault', 'scrub_after_resilver', 'zpool_status_-s'] tags = ['functional', 'fault'] [tests/functional/features/large_dnode:Linux] @@ -94,6 +112,17 @@ tags = ['functional', 'io'] tests = ['mmap_libaio_001_pos'] tags = ['functional', 'mmap'] +[tests/functional/mmp:Linux] +tests = ['mmp_on_thread', 'mmp_on_uberblocks', 'mmp_on_off', 'mmp_interval', + 'mmp_active_import', 'mmp_inactive_import', 'mmp_exported_import', + 'mmp_write_uberblocks', 'mmp_reset_interval', 'multihost_history', + 'mmp_on_zdb', 'mmp_write_distribution', 'mmp_hostid'] +tags = ['functional', 'mmp'] + +[tests/functional/mount:Linux] +tests = ['umount_unlinked_drain'] +tags = ['functional', 'mount'] + [tests/functional/procfs:Linux] tests = ['procfs_list_basic', 'procfs_list_concurrent_readers', 'procfs_list_stale_read', 'pool_state'] diff --git a/tests/runfiles/sunos.run b/tests/runfiles/sunos.run index 232f561a7..129e1c570 100644 --- a/tests/runfiles/sunos.run +++ b/tests/runfiles/sunos.run @@ -41,3 +41,7 @@ tags = ['functional', 'xattr'] tests = ['zvol_misc_001_neg', 'zvol_misc_003_neg', 'zvol_misc_004_pos', 'zvol_misc_005_neg', 'zvol_misc_006_pos'] tags = ['functional', 'zvol', 'zvol_misc'] + +[tests/functional/zvol/zvol_swap:illumos] +tests = ['zvol_swap_003_pos', 'zvol_swap_005_pos', 'zvol_swap_006_pos'] +tags = ['functional', 'zvol', 'zvol_swap'] |