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

Köry Maincent kory.maincent@bootlin.com
Fri Jan 29 15:17:15 CET 2021


Hi Petr,

On Fri, 29 Jan 2021 14:47:19 +0100
Petr Vorel <pvorel@suse.cz> wrote:

> 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.

Regards,

Kory


More information about the ltp mailing list