[LTP] [PATCH v3 2/3] netns: Rewrite to use tst_net.sh

Petr Vorel pvorel@suse.cz
Tue May 10 16:00:04 CEST 2022


Hi Cyril,

...
> > +netns_usage()
> > +{
> > +	echo "usage: $0 [ -e ] [ -t ]"
>                                   ^
> 				  -I
> > +	echo "OPTIONS"
> > +	echo "-e use ns_exec instead of ip"
> > +	echo "-I test ioctl (with ifconfig) instead of netlink (with ip)"
> > +}

> Otherwise it looks like a nice cleanup.
Good catch, thanks!
FYI I have more plans, i.e. use tst_rhost_run(), but that will come after the
release.

Kind regards,
Petr


More information about the ltp mailing list