[LTP] [PATCH v1] netns_netlink: Ensure tuntap is enabled in kernel

Cyril Hrubis chrubis@suse.cz
Thu Nov 4 14:26:23 CET 2021


Hi!
>  testcases/kernel/containers/netns/netns_netlink.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/testcases/kernel/containers/netns/netns_netlink.c b/testcases/kernel/containers/netns/netns_netlink.c
> index ddd8ce910..f9ae255f5 100644
> --- a/testcases/kernel/containers/netns/netns_netlink.c
> +++ b/testcases/kernel/containers/netns/netns_netlink.c
> @@ -120,6 +120,7 @@ static struct tst_test test = {
>  	.forks_child = 1,
>  	.needs_kconfigs = (const char *[]) {
>  		"CONFIG_NET_NS=y",
> +		"CONFIG_TUN=y",

Shouldn't that be just "CONFIG_TUN" as that would match both
"CONFIG_TUN=y" and "CONFIG_TUN=m"?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list