Skip to content

Output selection

Jan Kara fstests linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 6 repliesIn review

Changes in v2 from the cover letter

* rebased on the current head of xfstests
* integrated output selection with _link_out_file and converted all tests using it

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3common: Factor out function to get OS namecommon/rc+14 -81 reply
2/3common: Improve _link_output_file to be more versatilecommon/rc tests/generic/088 tests/generic/088.cfg +27 more+283 -2194 replies
3/3ext4/001: Select different output based on mount optionstests/ext4/001 tests/ext4/001.cfg tests/ext4/001.out +2 more+672 -3331 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchTheodore Ts'o
1/3R-b
2/3
3/3R-b

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

Read the v2 thread

Cover letter [PATCH 0/3 v2] Output selection

From: Jan Kara <[email protected]>

Hello,

the patch series below addresses some issues with test ext4/001. First two patches improve _link_out_file helper function to allow selection of output (or in general linking any file when using _link_out_file_named() variant) based on a feature string (usually mount options, fs features, operating system) passed to the function (if no feature string is passed, the function defaults to using "operating system name","mount options"). This feature is useful when e.g. different mount options change behavior of the filesystem and thus different output is generated but we want to have the test working for all mount options.

Patch 3 uses the output selection function in ext4/001 to select different output files based on mount options.

Comments welcome!

Honza
--

Changes since v1:
* rebased on the current head of xfstests
* integrated output selection with _link_out_file and converted all tests using it