[LTP] [PATCH] doc: Add ground rules page

Petr Vorel pvorel@suse.cz
Tue Dec 9 20:38:04 CET 2025


Hi all,

> Hi!
> > I don't recall if we have it mentioned already, but we also used to say that
> > changes introduced in early kernel -rc  builds were low priority for acceptance
> > and we favored behavior that is in a released kernel (or at least in last -rcs).

> Sounds good.

+1. We could also mention runtest/staging

:master:`runtest/staging`, which we use for tests written against -rc kernels.
(So far we had only fanotify23 there, which was of course later migrated to
syscalls.)

> Also we probably need something along the lines:

> Use runtime checks for kernel features
> ======================================

> What is and what isn't supported by kernel is determined by the version
> and configuration of the kernel the systems is currently running on.
> That especially means that any checks done during the compilation cannot
> be used to assume features supported by the kernel the tests end up
> running on. The compile time checks, done by configure script, are only

done by :master:`configure.ac` script, ...

> useful for enabling fallback kernel API definitions when missing, as we
> do in lapi/ directory.

do in :master:`include/lapi/`.

Also about my previous note about referencing TST_CHECKPOINT_WAIT(), I know this
is a high level document, but IMHO linking helps newcomers.

Kind regards,
Petr


More information about the ltp mailing list