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
+2 -2
View File
@@ -3,7 +3,7 @@
# - do not start group names with a digit
# - comment line before each group is "new" description
#
001 auto prealloc quick
001 auto prealloc quick zero
002 auto quick prealloc
003 auto quick
004 auto dump
@@ -17,7 +17,7 @@
012 fuzzers
013 fuzzers
014 fuzzers
015 fuzzers
015 fuzzers punch
016 fuzzers
017 fuzzers
018 fuzzers