Skip to content

fstests: document all test groups

Darrick J. Wong fstests linux-xfs 4 versions – New

Get series with b4
b4 am 163183914290.952957.11558799225344566504.stgit@magnolia

Versions newest first · linked by author and title

  1. v4 Latest8 patches 0 repliesNew
  2. v39 patches 13 repliesSuperseded
  3. v28 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches10 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ceph: re-tag copy_file_range as being in the copy_range grouptests/ceph/001 tests/ceph/002 tests/ceph/003+3 -30 replies
2/8xfs: move reflink tests into the clone grouptests/xfs/519 tests/xfs/520 tests/xfs/535 +1 more+4 -40 replies
3/8xfs: fix incorrect fuzz test group nametests/xfs/491 tests/xfs/492 tests/xfs/493+3 -30 replies
4/8btrfs: fix incorrect subvolume test group nametests/btrfs/233 tests/btrfs/245+2 -20 replies
5/8generic/631: change this test to use the 'whiteout' grouptests/generic/631+1 -10 replies
6/8tools: make sure that test groups are described in the documentationcommon/preamble doc/group-names.txt tools/mkgroupfile+181 -80 replies
7/8tools: add missing license tags to my scriptstools/mkgroupfile tools/mvtest tools/nextid+10 -30 replies
8/8new: only allow documented test group namesnew+11 -130 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigAmir Goldstein
1/8R-b R-b
2/8R-b R-b
3/8R-b R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCHSET v4 0/8] fstests: document all test groups

Hi all,

I've noticed that fstests doesn't document what the test groups mean. I attempted to document what each group seems to symbolize, to reduce the amount of confusion for new contributors. While doing so, I noticed that there were a handful of tests that aren't in the right group. The first three patches dix that problem. The next test adds a build-time check to ensure that all groups are listed in the documentation file so that we don't lose track of things. The last patch updates ./new to use the documentation file instead of having to build group.list files.

v2: fix the 'subvolume' group tests, tweak some of the wordings of the
group description file, add missing license declarations, remove the one-off overlay group
v2.1: move the group name documentation checks into the preamble code so
we don't have to have a second script
v3: cleanup cleanups to mkgroupfile and don't allow new 'other' group
tests
v4: split the ./new script cleanups into a separate series; add review
tags; no other changes

If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome.

--D

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=document-test-groups

---
 common/preamble     |   21 ++++++++
 doc/group-names.txt |  135 +++++++++++++++++++++++++++++++++++++++++++++++++++
 new                 |   24 ++++-----
 tests/btrfs/233     |    2 -
 tests/btrfs/245     |    2 -
 tests/ceph/001      |    2 -
 tests/ceph/002      |    2 -
 tests/ceph/003      |    2 -
 tests/generic/631   |    2 -
 tests/xfs/491       |    2 -
 tests/xfs/492       |    2 -
 tests/xfs/493       |    2 -
 tests/xfs/519       |    2 -
 tests/xfs/520       |    2 -
 tests/xfs/535       |    2 -
 tests/xfs/536       |    2 -
 tools/mkgroupfile   |   37 +++++++++++---
 tools/mvtest        |    5 ++
 tools/nextid        |    4 +-
 19 files changed, 215 insertions(+), 37 deletions(-)
 create mode 100644 doc/group-names.txt