[LTP] lib: Check minimal supported kernel version
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Fri Sep 4 12:41:44 CEST 2026
Hi Andrea,
On Fri, 4 Sep 2026, Andrea Cervesato wrote:
> lib: Check minimal supported kernel version
> + if (tst_kvercmp(v1, v2, v3) < 0)
> + tst_brk(TWARN, "Kernel is older than minimal supported %s", TST_MIN_KVER);
This exits with TWARN, contrary to the commit message's stated TCONF
behavior. Use tst_brk(TCONF, ...) so unsupported kernels are reported as
skipped configurations.
Verdict - Needs revision
---
Note:
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list