aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/runfiles/common.run4
-rw-r--r--tests/runfiles/linux.run4
-rw-r--r--tests/zfs-tests/tests/functional/Makefile.am6
3 files changed, 9 insertions, 5 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run
index 629f0908a..423ce8158 100644
--- a/tests/runfiles/common.run
+++ b/tests/runfiles/common.run
@@ -836,10 +836,6 @@ tags = ['functional', 'suid']
tests = ['threadsappend_001_pos']
tags = ['functional', 'threadsappend']
-[tests/functional/tmpfile]
-tests = ['tmpfile_001_pos', 'tmpfile_002_pos', 'tmpfile_003_pos']
-tags = ['functional', 'tmpfile']
-
[tests/functional/trim]
tests = ['autotrim_integrity', 'autotrim_config', 'autotrim_trim_integrity',
'trim_integrity', 'trim_config']
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run
index 13b874055..2ccf3b2ae 100644
--- a/tests/runfiles/linux.run
+++ b/tests/runfiles/linux.run
@@ -101,6 +101,10 @@ tags = ['functional', 'rsend']
tests = ['snapshot_015_pos', 'snapshot_016_pos']
tags = ['functional', 'snapshot']
+[tests/functional/tmpfile:Linux]
+tests = ['tmpfile_001_pos', 'tmpfile_002_pos', 'tmpfile_003_pos']
+tags = ['functional', 'tmpfile']
+
[tests/functional/upgrade:Linux]
tests = ['upgrade_projectquota_001_pos']
tags = ['functional', 'upgrade']
diff --git a/tests/zfs-tests/tests/functional/Makefile.am b/tests/zfs-tests/tests/functional/Makefile.am
index 6c9cb3e04..c8706c407 100644
--- a/tests/zfs-tests/tests/functional/Makefile.am
+++ b/tests/zfs-tests/tests/functional/Makefile.am
@@ -70,7 +70,6 @@ SUBDIRS = \
sparse \
suid \
threadsappend \
- tmpfile \
trim \
truncate \
upgrade \
@@ -80,3 +79,8 @@ SUBDIRS = \
write_dirs \
xattr \
zvol
+
+if BUILD_LINUX
+SUBDIRS += \
+ tmpfile
+endif