Re: [LTP] [PATCH v2] fsconfig04.c: Check FSCONFIG_SET_PATH

Petr Vorel
2025-05-26T16:13:37Z

> Hi!
> > mkfs.bcachefs: invalid option -- 'F'
> > fsconfig04.c:82: TBROK: mkfs.bcachefs failed with exit code 1

> > Having a way to specify just ext3 and ext4 would be better, IMHO we don't have
> > way to do it.

> Of course we do, that's what we do for subset of statx tests:

> .filesystems = (struct tst_fs []) {
> {.type = "ext3"},
> {.type = "ext4"},
> {}
> };

Thanks! I forget the rewrite allows this nice syntax.

We should have (after the release) some examples somewhere (not sure if
the docs in @filesystems in include/tst_test.h could be extended or we can dare
to have static page with examples as we had in the old API - might be easier to
search).

And/or C API tests in lib/newlib_tests/.

Kind regards,
Petr