[LTP] [PATCH] sctp/func_test: add check on the sctp driver

Petr Vorel pvorel@suse.cz
Fri Jan 29 15:24:09 CET 2021


Hi Kory,

> > > +	if (tst_check_driver("sctp"))
> > > +		tst_brkm(TCONF, tst_exit, "sctp driver not available");  
> > Using tst_check_driver requires #include "tst_kernel.h".

> Weird I did not get any build error and the binaries are built.
> Maybe Yocto manage to build it even without the include.
> Sorry for that.
It's safer to test build and patches also on x86_64 machine with typical linux
distro :).

Kind regards,
Petr


More information about the ltp mailing list