fstests: add punch, collapse, insert, zero test groups

Define test groups for those tests which have _require_xfs_io_command
for punch, collapse, insert, and zero.  This makes it easier to
exclude tests that use one of these fallocate commands.  Or if you
want to specifically test for those fallocate commands you can do
this.

This obviates an out-of-tree xfstests patch I maintain which used an
XFS_IO_AVOID environment variable to suppress running tests that use
punch, collapse, insert, etc.  This was rejected because of the
claim that it could be done using groups.  So this commit is in
response to those upstream comments.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Theodore Ts'o
2016-08-24 17:01:28 -04:00
committed by Eryu Guan
parent 94cec74b78
commit 21eb9d303c
4 changed files with 58 additions and 58 deletions
+1 -1
View File
@@ -110,7 +110,7 @@
105 auto quick send
106 auto quick clone compress
107 auto quick prealloc
108 auto quick send clone
108 auto quick send clone punch
109 auto quick send clone compress
110 auto quick send
111 auto quick send