[LTP] [PATCH v2 1/1] netns_helper.sh: Replace ip version check with feature testing

Petr Vorel pvorel@suse.cz
Thu May 13 19:36:28 CEST 2021


Hi,

>  netns_ip_setup()
>  {
> -	tst_check_iproute 111010
> +	ip netns || tst_brk TCONF "ip without netns support (required iproute2 >= ss111010 - v3.0.0)"
FYI merged as:
	ip netns > /dev/null || \
		tst_brk TCONF "ip without netns support (required iproute2 >= ss111010 - v3.0.0)"

(deliberately kept stderr redirection)

Kind regards,
Petr



More information about the ltp mailing list