aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runfiles
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-01-23 20:14:40 -0500
committerBrian Behlendorf <[email protected]>2020-01-23 17:14:40 -0800
commitdbfec5cc09cedfe3a31fc958a80e111f50716929 (patch)
tree8de52f6f4d39a7596868eeb36eb01614798d4942 /tests/runfiles
parent35b07497c60701465a87aab48fc890a0bc502561 (diff)
ZTS: Get xattr tests running on FreeBSD
This mostly involves reworking platform checks to make illumos the exception (thanks to their unusual way of exposing xattrs). Other platforms are able to take advantage of the recently added xattr wrappers in libtest. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #9872
Diffstat (limited to 'tests/runfiles')
-rw-r--r--tests/runfiles/common.run6
-rw-r--r--tests/runfiles/linux.run7
-rw-r--r--tests/runfiles/sunos.run4
3 files changed, 10 insertions, 7 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run
index f93f6479a..a04f5f3cc 100644
--- a/tests/runfiles/common.run
+++ b/tests/runfiles/common.run
@@ -868,6 +868,12 @@ tags = ['functional', 'vdev_zaps']
tests = ['write_dirs_001_pos', 'write_dirs_002_pos']
tags = ['functional', 'write_dirs']
+[tests/functional/xattr]
+tests = ['xattr_001_pos', 'xattr_002_neg', 'xattr_003_neg', 'xattr_004_pos',
+ 'xattr_005_pos', 'xattr_006_pos', 'xattr_007_neg',
+ 'xattr_011_pos', 'xattr_012_pos', 'xattr_013_pos']
+tags = ['functional', 'xattr']
+
[tests/functional/zvol/zvol_ENOSPC]
tests = ['zvol_ENOSPC_001_pos']
tags = ['functional', 'zvol', 'zvol_ENOSPC']
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run
index 5fe16bcfb..b4322991e 100644
--- a/tests/runfiles/linux.run
+++ b/tests/runfiles/linux.run
@@ -130,10 +130,3 @@ tags = ['functional', 'upgrade']
tests = ['groupspace_001_pos', 'groupspace_002_pos', 'groupspace_003_pos',
'userquota_013_pos', 'userspace_003_pos']
tags = ['functional', 'userquota']
-
-[tests/functional/xattr:Linux]
-tests = ['xattr_001_pos', 'xattr_002_neg', 'xattr_003_neg', 'xattr_004_pos',
- 'xattr_005_pos', 'xattr_006_pos', 'xattr_007_neg', 'xattr_008_pos',
- 'xattr_009_neg', 'xattr_010_neg', 'xattr_011_pos', 'xattr_012_pos',
- 'xattr_013_pos']
-tags = ['functional', 'xattr']
diff --git a/tests/runfiles/sunos.run b/tests/runfiles/sunos.run
index a0dae504a..232f561a7 100644
--- a/tests/runfiles/sunos.run
+++ b/tests/runfiles/sunos.run
@@ -33,6 +33,10 @@ tags = ['functional', 'cli_root', 'zpool_add']
tests = ['zpool_create_016_pos']
tags = ['functional', 'cli_root', 'zpool_create']
+[tests/functional/xattr:illumos]
+tests = ['xattr_008_pos', 'xattr_009_neg', 'xattr_010_neg']
+tags = ['functional', 'xattr']
+
[tests/functional/zvol/zvol_misc:illumos]
tests = ['zvol_misc_001_neg', 'zvol_misc_003_neg', 'zvol_misc_004_pos',
'zvol_misc_005_neg', 'zvol_misc_006_pos']