[LTP] LTP doc: test examples [was: Re: [PATCH v2] fsconfig04.c: Check FSCONFIG_SET_PATH]

Petr Vorel pvorel@suse.cz
Tue May 27 10:58:00 CEST 2025


Hi all,

> Hi!
> > 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).

> I would say that the documentation for the tst_test structure is already
> too long.

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

> Having small C examples in newlib_tests

Add test for .filesystems
https://github.com/linux-test-project/ltp/issues/1243

> and then rendering them into
> examples section into the documentation would be awesome.

Render examples from newlib_tests into docs
https://github.com/linux-test-project/ltp/issues/1244

Feel free to modify them both.

Kind regards,
Petr


More information about the ltp mailing list