]> granicus.if.org Git - zfs/commitdiff
ZTS: Move more tests to linux.run
authorRyan Moeller <ryan@iXsystems.com>
Sat, 26 Oct 2019 03:03:46 +0000 (23:03 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 26 Oct 2019 03:03:46 +0000 (20:03 -0700)
Tests that rely on special filesystems that are specific to Linux
should only be run on Linux.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <guss80@gmail.com>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9512

tests/runfiles/common.run
tests/runfiles/linux.run

index 423ce815890be26bd1d7635dc2eb5585fb439184..d6d3874f684f89ece7041ff0fb4e2947df52f9a8 100644 (file)
@@ -253,12 +253,6 @@ tests = ['zfs_snapshot_001_neg', 'zfs_snapshot_002_neg',
     'zfs_snapshot_009_pos']
 tags = ['functional', 'cli_root', 'zfs_snapshot']
 
-[tests/functional/cli_root/zfs_sysfs]
-tests = ['zfeature_set_unsupported', 'zfs_get_unsupported',
-    'zfs_set_unsupported', 'zfs_sysfs_live', 'zpool_get_unsupported',
-    'zpool_set_unsupported']
-tags = ['functional', 'cli_root', 'zfs_sysfs']
-
 [tests/functional/cli_root/zfs_unload-key]
 tests = ['zfs_unload-key', 'zfs_unload-key_all', 'zfs_unload-key_recursive']
 tags = ['functional', 'cli_root', 'zfs_unload-key']
@@ -691,11 +685,6 @@ tags = ['functional', 'poolversion']
 tests = ['privilege_001_pos', 'privilege_002_pos']
 tags = ['functional', 'privilege']
 
-[tests/functional/procfs]
-tests = ['procfs_list_basic', 'procfs_list_concurrent_readers',
-    'procfs_list_stale_read', 'pool_state']
-tags = ['functional', 'procfs']
-
 [tests/functional/pyzfs]
 tests = ['pyzfs_unittest']
 pre =
index 2ccf3b2ae10e8504c8d1e18eac637d4e8df6c6d6..777588ac4ae64235448b996ae134526b06c531d1 100644 (file)
@@ -44,6 +44,12 @@ tags = ['functional', 'cli_root', 'zfs']
 tests = ['zfs_mount_006_pos', 'zfs_mount_008_pos', 'zfs_multi_mount']
 tags = ['functional', 'cli_root', 'zfs_mount']
 
+[tests/functional/cli_root/zfs_sysfs:Linux]
+tests = ['zfeature_set_unsupported', 'zfs_get_unsupported',
+    'zfs_set_unsupported', 'zfs_sysfs_live', 'zpool_get_unsupported',
+    'zpool_set_unsupported']
+tags = ['functional', 'cli_root', 'zfs_sysfs']
+
 [tests/functional/cli_root/zpool_events:Linux]
 tests = ['zpool_events_clear', 'zpool_events_cliargs', 'zpool_events_follow',
     'zpool_events_poolname', 'zpool_events_errors']
@@ -83,6 +89,11 @@ tags = ['functional', 'io']
 tests = ['mmap_libaio_001_pos']
 tags = ['functional', 'mmap']
 
+[tests/functional/procfs:Linux]
+tests = ['procfs_list_basic', 'procfs_list_concurrent_readers',
+    'procfs_list_stale_read', 'pool_state']
+tags = ['functional', 'procfs']
+
 [tests/functional/projectquota:Linux]
 tests = ['projectid_001_pos', 'projectid_002_pos', 'projectid_003_pos',
     'projectquota_001_pos', 'projectquota_002_pos', 'projectquota_003_pos',