]> granicus.if.org Git - zfs/commitdiff
ZTS: Move tmpfile tests to linux.run
authorRyan Moeller <ryan@iXsystems.com>
Thu, 24 Oct 2019 17:49:19 +0000 (13:49 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 24 Oct 2019 17:49:19 +0000 (10:49 -0700)
O_TMPFILE is not available on FreeBSD.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #9503

tests/runfiles/common.run
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/Makefile.am

index 629f0908a24dbd1a62356b7c2674809deee9d7e5..423ce815890be26bd1d7635dc2eb5585fb439184 100644 (file)
@@ -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']
index 13b874055076acc5a63ea8519beee8dccbcf7abb..2ccf3b2ae10e8504c8d1e18eac637d4e8df6c6d6 100644 (file)
@@ -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']
index 6c9cb3e0492917510086a9d798712f255559dba3..c8706c407fa062480db91a2ca9f71f6e709de329 100644 (file)
@@ -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