Skip to contentSkip to conversation

ext4/308: add the missing _supported_fs

PATCH New Eryu Guan 2 participants 5 messages Mar 8, 2017 – Mar 9, 2017

lore
Share & tools
lore

Eryu Guan

author
#0 lore raw

PATCH 1/1 ext4/308: add the missing _supported_fs

There's no supported fs check in this test, it will run on all filesystems. Let's add it back.

---
 tests/ext4/308 | 1 +
 1 file changed, 1 insertion(+)
tests/ext4/308 +1 -0
index 74bfc1b..4a811af 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs ext4
 _require_scratch
 _require_defrag
 _require_xfs_io_command "falloc"
Signature · 1 line
2.9.3
author
#1 lore raw

PATCH v2 1/1 fstests: add the missing _supported_fs to tests

There're many tests that are missing _supported_fs check. I first noticed this by running ext4/308 under an XFS test config by accident then realized that there might be more tests missing supported fs type check.

Note that ext4/307 has redundant _supported_fs line and xfs/040 is missing both _supported_os and _supported_fs.

---
v2:
- go through and update all tests that are missing _supported_fs, not only ext4/308

 tests/ext4/307    | 1 -
 tests/ext4/308    | 1 +
 tests/generic/008 | 1 +
 tests/generic/009 | 1 +
 tests/generic/110 | 1 +
 tests/generic/111 | 1 +
 tests/generic/115 | 1 +
 tests/generic/116 | 1 +
 tests/generic/118 | 1 +
 tests/generic/119 | 1 +
 tests/generic/121 | 1 +
 tests/generic/122 | 1 +
 tests/generic/134 | 1 +
 tests/generic/136 | 1 +
 tests/generic/137 | 1 +
 tests/generic/138 | 1 +
 tests/generic/139 | 1 +
 tests/generic/140 | 1 +
 tests/generic/142 | 1 +
 tests/generic/143 | 1 +
 tests/generic/144 | 1 +
 tests/generic/145 | 1 +
 tests/generic/146 | 1 +
 tests/generic/147 | 1 +
 tests/generic/148 | 1 +
 tests/generic/149 | 1 +
 tests/generic/150 | 1 +
 tests/generic/151 | 1 +
 tests/generic/152 | 1 +
 tests/generic/153 | 1 +
 tests/generic/154 | 1 +
 tests/generic/155 | 1 +
 tests/generic/156 | 1 +
 tests/generic/157 | 1 +
 tests/generic/158 | 1 +
 tests/generic/159 | 1 +
 tests/generic/160 | 1 +
 tests/generic/161 | 1 +
 tests/generic/162 | 1 +
 tests/generic/163 | 1 +
 tests/generic/164 | 1 +
 tests/generic/165 | 1 +
 tests/generic/166 | 1 +
 tests/generic/167 | 1 +
 tests/generic/168 | 1 +
 tests/generic/170 | 1 +
 tests/generic/171 | 1 +
 tests/generic/172 | 1 +
 tests/generic/173 | 1 +
 tests/generic/174 | 1 +
 tests/generic/175 | 1 +
 tests/generic/176 | 1 +
 tests/generic/178 | 1 +
 tests/generic/179 | 1 +
 tests/generic/180 | 1 +
 tests/generic/181 | 1 +
 tests/generic/182 | 1 +
 tests/generic/183 | 1 +
 tests/generic/185 | 1 +
 tests/generic/186 | 1 +
 tests/generic/187 | 1 +
 tests/generic/188 | 1 +
 tests/generic/189 | 1 +
 tests/generic/190 | 1 +
 tests/generic/191 | 1 +
 tests/generic/194 | 1 +
 tests/generic/195 | 1 +
 tests/generic/196 | 1 +
 tests/generic/197 | 1 +
 tests/generic/199 | 1 +
 tests/generic/200 | 1 +
 tests/generic/201 | 1 +
 tests/generic/202 | 1 +
 tests/generic/203 | 1 +
 tests/generic/205 | 1 +
 tests/generic/206 | 1 +
 tests/generic/216 | 1 +
 tests/generic/217 | 1 +
 tests/generic/218 | 1 +
 tests/generic/220 | 1 +
 tests/generic/222 | 1 +
 tests/generic/227 | 1 +
 tests/generic/229 | 1 +
 tests/generic/238 | 1 +
 tests/generic/242 | 1 +
 tests/generic/243 | 1 +
 tests/generic/250 | 1 +
 tests/generic/252 | 1 +
 tests/generic/253 | 1 +
 tests/generic/254 | 1 +
 tests/generic/259 | 1 +
 tests/generic/261 | 1 +
 tests/generic/262 | 1 +
 tests/generic/264 | 1 +
 tests/generic/265 | 1 +
 tests/generic/266 | 1 +
 tests/generic/267 | 1 +
 tests/generic/268 | 1 +
 tests/generic/271 | 1 +
 tests/generic/272 | 1 +
 tests/generic/276 | 1 +
 tests/generic/278 | 1 +
 tests/generic/279 | 1 +
 tests/generic/281 | 1 +
 tests/generic/282 | 1 +
 tests/generic/283 | 1 +
 tests/generic/284 | 1 +
 tests/generic/287 | 1 +
 tests/generic/289 | 1 +
 tests/generic/290 | 1 +
 tests/generic/291 | 1 +
 tests/generic/292 | 1 +
 tests/generic/293 | 1 +
 tests/generic/295 | 1 +
 tests/generic/296 | 1 +
 tests/generic/297 | 1 +
 tests/generic/298 | 1 +
 tests/generic/301 | 1 +
 tests/generic/302 | 1 +
 tests/generic/303 | 1 +
 tests/generic/304 | 1 +
 tests/generic/305 | 1 +
 tests/generic/324 | 1 +
 tests/generic/326 | 1 +
 tests/generic/327 | 1 +
 tests/generic/328 | 1 +
 tests/generic/329 | 1 +
 tests/generic/330 | 1 +
 tests/generic/331 | 1 +
 tests/generic/332 | 1 +
 tests/generic/333 | 1 +
 tests/generic/334 | 1 +
 tests/generic/349 | 1 +
 tests/generic/350 | 1 +
 tests/generic/351 | 1 +
 tests/generic/356 | 1 +
 tests/generic/357 | 1 +
 tests/generic/358 | 1 +
 tests/generic/359 | 1 +
 tests/xfs/040     | 3 +++
 tests/xfs/076     | 1 +
 tests/xfs/132     | 1 +
 tests/xfs/139     | 1 +
 tests/xfs/140     | 1 +
 tests/xfs/215     | 1 +
 tests/xfs/218     | 1 +
 tests/xfs/219     | 1 +
 tests/xfs/221     | 1 +
 tests/xfs/223     | 1 +
 tests/xfs/224     | 1 +
 tests/xfs/225     | 1 +
 tests/xfs/226     | 1 +
 tests/xfs/228     | 1 +
 tests/xfs/230     | 1 +
 tests/xfs/248     | 1 +
 tests/xfs/249     | 1 +
 tests/xfs/251     | 1 +
 tests/xfs/254     | 1 +
 tests/xfs/255     | 1 +
 tests/xfs/256     | 1 +
 tests/xfs/257     | 1 +
 tests/xfs/258     | 1 +
 tests/xfs/269     | 1 +
 163 files changed, 164 insertions(+), 1 deletion(-)
tests/ext4/307 +0 -1
index 4bca056..c5b0aaa 100755
@@ -58,7 +58,6 @@ _workout()
 }
 
 # real QA test starts here
-_supported_fs generic
 _supported_fs ext4
 _supported_os Linux
 _require_scratch
tests/ext4/308 +1 -0
index 74bfc1b..4a811af 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs ext4
 _require_scratch
 _require_defrag
 _require_xfs_io_command "falloc"
tests/generic/008 +1 -0
index 9b70b28..2e012d9 100755
@@ -42,6 +42,7 @@ trap "exit \$status" 0 1 2 3 15
 
 # Modify as appropriate.
 _supported_os Linux
+_supported_fs generic
 
 _require_xfs_io_command "fzero"
 _require_test
tests/generic/009 +1 -0
index 5902afd..eacf3e8 100755
@@ -44,6 +44,7 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_xfs_io_command "fzero"
 _require_xfs_io_command "fiemap"
 _require_xfs_io_command "falloc"
tests/generic/110 +1 -0
index 1fcdb56..231b5e6 100755
@@ -48,6 +48,7 @@ _cleanup()
 # real QA test starts here
 _require_test_reflink
 _supported_os Linux
+_supported_fs generic
 
 _require_xfs_io_command "fiemap"
 _require_cp_reflink
tests/generic/111 +1 -0
index dce9c84..7316a19 100755
@@ -48,6 +48,7 @@ _cleanup()
 # real QA test starts here
 _require_test_reflink
 _supported_os Linux
+_supported_fs generic
 
 _require_xfs_io_command "fiemap"
 _require_cp_reflink
tests/generic/115 +1 -0
index 43ce59c..470d99f 100755
@@ -46,6 +46,7 @@ _cleanup()
 # real QA test starts here
 _require_test_reflink
 _supported_os Linux
+_supported_fs generic
 
 _require_xfs_io_command "fiemap"
 _require_cp_reflink
tests/generic/116 +1 -0
index 620a358..5c0d02a 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 
 rm -f $seqres.full
tests/generic/118 +1 -0
index 66dbc04..9e02961 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 
 rm -f $seqres.full
tests/generic/119 +1 -0
index b28e044..83ca3c6 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_arbitrary_fileset_reflink
 
tests/generic/121 +1 -0
index d17f047..1157f5d 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_dedupe
 
 rm -f $seqres.full
tests/generic/122 +1 -0
index 5008190..7fc6859 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_dedupe
 
 rm -f $seqres.full
tests/generic/134 +1 -0
index 8dc9988..652a344 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 
 rm -f $seqres.full
tests/generic/136 +1 -0
index 665749f..3a4b494 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_dedupe
 
 rm -f $seqres.full
tests/generic/137 +1 -0
index a813036..05f2c38 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_test_dedupe
 _require_xfs_io_command "falloc"
tests/generic/138 +1 -0
index f8a3197..2b27375 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 
tests/generic/139 +1 -0
index ef66034..5f2ff39 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_odirect
tests/generic/140 +1 -0
index bf95ec1..281089b 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 
tests/generic/142 +1 -0
index d19725f..cde4927 100755
@@ -47,6 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 
tests/generic/143 +1 -0
index 8c4f9ce..d07a4fd 100755
@@ -47,6 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_odirect
tests/generic/144 +1 -0
index dbbe169..aaaefe7 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "falloc"
tests/generic/145 +1 -0
index 93d3839..c539d27 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "falloc"
tests/generic/146 +1 -0
index b1013f8..0de2156 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "fpunch"
tests/generic/147 +1 -0
index a1f59a0..0fe4d5d 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "finsert"
tests/generic/148 +1 -0
index 31e7ebe..efa9e92 100755
@@ -47,6 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "truncate"
tests/generic/149 +1 -0
index 0f13b79..092e634 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "fzero"
tests/generic/150 +1 -0
index b57db51..7bdff59 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 
tests/generic/151 +1 -0
index efb93ed..2732e00 100755
@@ -49,6 +49,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 
tests/generic/152 +1 -0
index ee009ea..e3173b5 100755
@@ -49,6 +49,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "fpunch"
tests/generic/153 +1 -0
index fb5d552..f53fdd1 100755
@@ -49,6 +49,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "fcollapse"
tests/generic/154 +1 -0
index 9daee70..1bd5bfe 100755
@@ -49,6 +49,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 
tests/generic/155 +1 -0
index 9eead24..d95d330 100755
@@ -52,6 +52,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "fzero"
tests/generic/156 +1 -0
index a81b91a..eac8d55 100755
@@ -56,6 +56,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "funshare"
tests/generic/157 +1 -0
index 722dc22..af65865 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_scratch_reflink
 
tests/generic/158 +1 -0
index c4f8bb8..6ef2a34 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_dedupe
 _require_scratch_dedupe
 
tests/generic/159 +1 -0
index 7e52d5c..dd6bb3a 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_lsattr
 _require_test_reflink
 
tests/generic/160 +1 -0
index 409b15e..137572a 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_lsattr
 _require_test_dedupe
 
tests/generic/161 +1 -0
index ba7108e..251beda 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/162 +1 -0
index 61cf463..82e1dd1 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_dedupe
 
 echo "Format and mount"
tests/generic/163 +1 -0
index e2c6042..492d3b0 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_dedupe
 
 echo "Format and mount"
tests/generic/164 +1 -0
index 78ea787..708fd50 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/165 +1 -0
index ca11e1e..96fc12b 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_odirect
tests/generic/166 +1 -0
index 8600a13..dfb1b34 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_odirect
tests/generic/167 +1 -0
index 261506b..642a351 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/168 +1 -0
index ceee264..7069dbf 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 
 echo "Format and mount"
tests/generic/170 +1 -0
index 6559243..1ff802f 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_odirect
 
tests/generic/171 +1 -0
index 0942ac3..880b640 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/172 +1 -0
index d8ab882..273e60d 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/173 +1 -0
index ad4e5da..f329fb4 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/174 +1 -0
index d230577..e208042 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_odirect
tests/generic/175 +1 -0
index df25f0a..837de8d 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/176 +1 -0
index 3e61b68..3e888d0 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_test_program "punch-alternating"
tests/generic/178 +1 -0
index 7540802..f1e8d9d 100755
@@ -42,6 +42,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "fpunch"
tests/generic/179 +1 -0
index c0ea70f..95e2c75 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "fpunch"
tests/generic/180 +1 -0
index af2abf9..423f985 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 _require_xfs_io_command "fzero"
tests/generic/181 +1 -0
index bd884df..4a3107e 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 
tests/generic/182 +1 -0
index 7fafec0..94b20a2 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_dedupe
 
 rm -f $seqres.full
tests/generic/183 +1 -0
index 24adf97..b72f002 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_odirect
 
tests/generic/185 +1 -0
index 49feaf3..f350986 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 
 rm -f $seqres.full
tests/generic/186 +1 -0
index 5de120a..def8af9 100755
@@ -50,6 +50,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_xfs_io_command "falloc"
tests/generic/187 +1 -0
index 3f534c8..b78e91f 100755
@@ -50,6 +50,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_xfs_io_command "falloc"
tests/generic/188 +1 -0
index 19d3f56..2d693eb 100755
@@ -47,6 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/189 +1 -0
index 14cfef9..0ac2366 100755
@@ -47,6 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/190 +1 -0
index 3009bfe..7ead187 100755
@@ -47,6 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/191 +1 -0
index 36af284..4635789 100755
@@ -47,6 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/194 +1 -0
index 9edbe2c..65133c1 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/195 +1 -0
index 98954d5..491f2fa 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/196 +1 -0
index 69e7c04..384fbac 100755
@@ -47,6 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/197 +1 -0
index 0fc0c5e..5c5b352 100755
@@ -47,6 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/199 +1 -0
index 0ac4762..697721e 100755
@@ -51,6 +51,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "fpunch"
tests/generic/200 +1 -0
index 5d7da84..6f5443b 100755
@@ -51,6 +51,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "fpunch"
tests/generic/201 +1 -0
index 547f194..4e87920 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/202 +1 -0
index 14c94af..877ba28 100755
@@ -42,6 +42,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/203 +1 -0
index a7d0bcc..a18f716 100755
@@ -42,6 +42,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_odirect
tests/generic/205 +1 -0
index 564afc0..5edb75e 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 
 rm -f $seqres.full
tests/generic/206 +1 -0
index 3fdbec2..a9f6003 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_odirect
 
tests/generic/216 +1 -0
index 93b0106..a1b7440 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/217 +1 -0
index 509f2c4..74557d7 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/218 +1 -0
index 92bc521..8dd16c3 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/220 +1 -0
index 2bd0e99..10afd30 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/222 +1 -0
index eb2169c..8265bc6 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/227 +1 -0
index 3fe2490..f3b0e2e 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/229 +1 -0
index 55f875d..1b9067c 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/238 +1 -0
index c60799d..fa5d4ef 100755
@@ -46,6 +46,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/242 +1 -0
index 1bfeb77..5312e62 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/243 +1 -0
index 59ae6e8..9e5c6b3 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_odirect
tests/generic/250 +1 -0
index 3c4fe6d..af749ae 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch
 _require_dm_target error
 _require_xfs_io_command "falloc"
tests/generic/252 +1 -0
index ffedd56..daec114 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch
 _require_dm_target error
 _require_xfs_io_command "falloc"
tests/generic/253 +1 -0
index 4935f44..06eee73 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_xfs_io_command "truncate"
tests/generic/254 +1 -0
index cd015ec..1e922d3 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_xfs_io_command "fpunch"
tests/generic/259 +1 -0
index 3765bfd..1d0bfe5 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_xfs_io_command "fzero"
tests/generic/261 +1 -0
index 84ebc86..574ca1d 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_xfs_io_command "fcollapse"
tests/generic/262 +1 -0
index 366801b..d1c8a2d 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_xfs_io_command "finsert"
tests/generic/264 +1 -0
index f90de03..450699c 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_xfs_io_command "funshare"
tests/generic/265 +1 -0
index ceddfbe..291e43c 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/266 +1 -0
index 09541c8..9b8004d 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/267 +1 -0
index 2ec6ad9..a3c15d6 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/268 +1 -0
index b7d16ab..c021b89 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/271 +1 -0
index 9439327..8181b43 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/272 +1 -0
index 243adf5..6729a00 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/276 +1 -0
index 34b0029..40f3dad 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/278 +1 -0
index d751f01..fefc77b 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/279 +1 -0
index 4541de3..1f06d21 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/281 +1 -0
index e8e1661..7cf606d 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/282 +1 -0
index 8a30811..5feaebe 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/283 +1 -0
index 7bfdb4d..8ead945 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/284 +1 -0
index b3e8f3b..2a9642e 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/287 +1 -0
index 7d53883..04450ca 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/289 +1 -0
index 62b28dc..403e633 100755
@@ -50,6 +50,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/290 +1 -0
index ff3af20..5990e84 100755
@@ -50,6 +50,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/291 +1 -0
index 1888043..7294d4d 100755
@@ -50,6 +50,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/292 +1 -0
index e71b555..0dde6a9 100755
@@ -50,6 +50,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/293 +1 -0
index 6792f10..c564f48 100755
@@ -51,6 +51,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 
tests/generic/295 +1 -0
index 8f7916e..99b7393 100755
@@ -51,6 +51,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_odirect
tests/generic/296 +1 -0
index 31c8e89..4c2ebc8 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/297 +1 -0
index f7eb37b..a4c779f 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_command "$(which timeout)" "timeout"
tests/generic/298 +1 -0
index b518da1..8ab65e5 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_command "$(which timeout)" "timeout"
tests/generic/301 +1 -0
index 67b1a0c..6cc45ed 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_fiemap
tests/generic/302 +1 -0
index 3834f98..6fa6e1a 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_fiemap
tests/generic/303 +1 -0
index 3c84008..8f9b8dc 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_reflink
 _require_cp_reflink
 
tests/generic/304 +1 -0
index 6c36a68..f3ae71b 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_test_dedupe
 _require_cp_reflink
 
tests/generic/305 +1 -0
index ceef333..5e721a4 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_fiemap
tests/generic/324 +1 -0
index 47cb3db..60e425c 100755
@@ -41,6 +41,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch
 _require_defrag
 _require_xfs_io_command "falloc"
tests/generic/326 +1 -0
index 3568efe..00f75dd 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_fiemap
tests/generic/327 +1 -0
index 05cfb4a..080b4e4 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_fiemap
tests/generic/328 +1 -0
index 21ec9d3..18b80a3 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_fiemap
tests/generic/329 +1 -0
index 3991672..5ed4ab8 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/330 +1 -0
index f9f82a4..9778caf 100755
@@ -42,6 +42,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_aiodio "aiocp"
tests/generic/331 +1 -0
index 9b91459..c1ac1e4 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_dm_target error
tests/generic/332 +1 -0
index 1fb5611..b355e6a 100755
@@ -42,6 +42,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_aiodio "aiocp"
tests/generic/333 +1 -0
index 3d874d7..da3c2ab 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 _require_odirect
tests/generic/334 +1 -0
index fb21d4f..359045e 100755
@@ -45,6 +45,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 _require_cp_reflink
 
tests/generic/349 +1 -0
index ae9f8f6..aff377a 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scsi_debug
 _require_xfs_io_command "fzero"
 
tests/generic/350 +1 -0
index 0a12e14..3af48f7 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scsi_debug
 _require_xfs_io_command "fpunch"
 
tests/generic/351 +1 -0
index e87fc18..b43a8b9 100755
@@ -47,6 +47,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scsi_debug
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "finsert"
tests/generic/356 +1 -0
index 51eeb65..e0655b2 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_swapfile
 _require_scratch_reflink
 _require_cp_reflink
tests/generic/357 +1 -0
index 0dd0c10..21e771b 100755
@@ -44,6 +44,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_swapfile
 _require_scratch_reflink
 _require_cp_reflink
tests/generic/358 +1 -0
index d9c7245..0f3c688 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 
 echo "Format and mount"
tests/generic/359 +1 -0
index 475026d..5cd8907 100755
@@ -50,6 +50,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs generic
 _require_scratch_reflink
 
 echo "Format and mount"
tests/xfs/040 +3 -0
index 7c2a008..c850ca0 100755
@@ -35,6 +35,9 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
 . ./common/rc
 . ./common/filter
 
+_supported_os Linux IRIX
+_supported_fs xfs
+
 [ -z "$KWORKAREA" ] && \
 	_notrun "Can't run srcdiff without KWORKAREA set"
 [ -d "$KWORKAREA/fs/xfs" ] || \
tests/xfs/076 +1 -0
index 86f9a05..c8c27f8 100755
@@ -77,6 +77,7 @@ _alloc_inodes()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 
 _require_scratch
 _require_xfs_io_command "falloc"
tests/xfs/132 +1 -0
index 178e268..66aa133 100755
@@ -60,6 +60,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_test_reflink
 _require_test_lsattr
 _require_cp_reflink
tests/xfs/139 +1 -0
index 4ee7ea2..062a90a 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_cp_reflink
 
tests/xfs/140 +1 -0
index 74d8f12..741d170 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_cp_reflink
 
tests/xfs/215 +1 -0
index c2b9c0e..233a90b 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/218 +1 -0
index 31cac44..225f7f8 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/219 +1 -0
index 2a8d966..2a7d35c 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/221 +1 -0
index 405d2d5..c18e847 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/223 +1 -0
index 6654872..84bed81 100755
@@ -49,6 +49,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/224 +1 -0
index 376abe1..7003430 100755
@@ -49,6 +49,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/225 +1 -0
index 5864677..f594ba3 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/226 +1 -0
index 44605b1..db5421c 100755
@@ -48,6 +48,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/228 +1 -0
index 9d8e9a9..7481ef3 100755
@@ -52,6 +52,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/230 +1 -0
index e42013f..5507ff3 100755
@@ -52,6 +52,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/248 +1 -0
index 471205c..3e2c73d 100755
@@ -49,6 +49,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/249 +1 -0
index 0a7fbf1..214c804 100755
@@ -49,6 +49,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/251 +1 -0
index 48a027c..da584dd 100755
@@ -51,6 +51,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/254 +1 -0
index ac87e49..6262506 100755
@@ -51,6 +51,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/255 +1 -0
index 97cbb77..a608068 100755
@@ -51,6 +51,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/256 +1 -0
index a182953..b55fbcb 100755
@@ -51,6 +51,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/257 +1 -0
index 1fc401b..75aab21 100755
@@ -52,6 +52,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/258 +1 -0
index a3ffc89..e58eb97 100755
@@ -52,6 +52,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch_reflink
 _require_xfs_io_command "falloc"
 _require_xfs_io_command "cowextsize"
tests/xfs/269 +1 -0
index 318dd22..e540080 100755
@@ -43,6 +43,7 @@ _cleanup()
 
 # real QA test starts here
 _supported_os Linux
+_supported_fs xfs
 _require_scratch
 _require_populate_commands
 _require_test_program "attr-list-by-handle-cursor-test"
Signature · 1 line
2.9.3
#2 lore raw

Re: [PATCH v2] fstests: add the missing _supported_fs to tests

Quoted 4 lines · Eryu Guan

There're many tests that are missing _supported_fs check. I first noticed this by running ext4/308 under an XFS test config by accident then realized that there might be more tests missing supported fs type check.

Stupid question --- I had assumed that all tests in xfs/* were implicitly xfs-only and all tests in btrfs/* were implicitly btrfs/only, and so on. Is that not true?

- Ted

author
#3 lore raw

Re: [PATCH v2] fstests: add the missing _supported_fs to tests

Quoted 9 lines · Theodore Ts'o
Quoted 4 lines · Eryu Guan

There're many tests that are missing _supported_fs check. I first noticed this by running ext4/308 under an XFS test config by accident then realized that there might be more tests missing supported fs type check.

Stupid question --- I had assumed that all tests in xfs/* were implicitly xfs-only and all tests in btrfs/* were implicitly btrfs/only, and so on. Is that not true?

Yes, that's true if you're not specifying tests on ./check command line. But ./check still tries to run the tests given on command line. e.g.

	./check -s xfs ext4/308

This rarely happens so it's not a big issue. I just happened to hit it and thought it'd be better to fix it :)

[Off topic] BTW, does the following patch look OK to you?

[PATCH] generic: require journal in shutdown tests

It skips shutdown tests on fs without journal, e.g. ext2 driving by ext4

Thanks,
Eryu

#4 lore raw

Re: [PATCH v2] fstests: add the missing _supported_fs to tests

Quoted 11 lines · Eryu Guan
Quoted 9 lines · Theodore Ts'o
Quoted 4 lines · Eryu Guan

There're many tests that are missing _supported_fs check. I first noticed this by running ext4/308 under an XFS test config by accident then realized that there might be more tests missing supported fs type check.

Stupid question --- I had assumed that all tests in xfs/* were implicitly xfs-only and all tests in btrfs/* were implicitly btrfs/only, and so on. Is that not true?

Quoted 7 lines

Yes, that's true if you're not specifying tests on ./check command line. But ./check still tries to run the tests given on command line. e.g.

	./check -s xfs ext4/308

This rarely happens so it's not a big issue. I just happened to hit it and thought it'd be better to fix it :)

If you think it's better having explicit _supported_fs lines for all tests, I don't have any strong objections; I just wonder if it's necessary.

Today "_supported_fs generic" is a no-op. And I wonder if we could just simply encoding an explicit check for FSTYP must equal the test directory name if the directory name is not "generic" or "shared" in the check script?

Quoted 5 lines

[Off topic] BTW, does the following patch look OK to you?

[PATCH] generic: require journal in shutdown tests

It skips shutdown tests on fs without journal, e.g. ext2 driving by ext4

It looks great, thanks for sending it out. I've sent a reviewed by under separate cover.

- Ted