[PATCH 0/3 v2] Output selection

Jan Kara
2015-11-24T10:40:04Z

From: Jan Kara <jack@suse.com>

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