[LTP] [PATCH v5 3/7] lib: Add support for max_kver to struct tst_test and tst_fs

Cyril Hrubis chrubis@suse.cz
Fri Aug 14 12:08:44 CEST 2026


Hi!
> You're probably right. When I started this there were 3 tests and I thought there
> would be more. I also thought this would be useful info in the metadata.  But
> in later versions it turn out 2 of them are to be removed. Now I double checked
> "tst_kvercmp >" code and it looks like none of them applies to .max_kver usage.
> I agree that a single test is not enough as a reason to have it in the metadata.
> Maybe there will be more in the future, but really just a few.

I would set the threshold at at least two tests needs this. If the
functionality is used only by one test, it's likely not worth adding the
API.

> => I should probably send yet another version where I implement the skip in the
> setup. Could you please comment these 2 commits (I would not resend them)?

Which ones?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list