[LTP] [PATCH v2] lib: Check minimal supported kernel version

Cyril Hrubis chrubis@suse.cz
Fri Sep 11 08:44:15 CEST 2026


Hi!
> > +
> > +	if (tst_kvercmp(v1, v2, v3) < 0)
> > +		tst_brk(TWARN, "Kernel is older than minimal supported %s", TST_MIN_KVER);
> > +}
> 
> @Cyril @Petr I'm wondering if this should be tst_res(TWARN, ..) instead.

Sorry missed that, yes, that was the point I was trying to make, that
this shouldn't exit the test. Only produce a message.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list