[LTP] [PATCH 1/3] test_net.sh: fix netns when defined LHOST_IFACES or RHOST_IFACES

Petr Vorel pvorel@suse.cz
Thu Dec 22 14:01:48 CET 2016


Hi Alexey,

> On 12/22/2016 02:04 AM, Petr Vorel wrote:
> > Tested with:
> > TST_USE_NETNS=1 LHOST_IFACES=localpeer RHOST_IFACES=remotepeer \
> >    ./testscripts/network.sh -6

> Any good reason to do that?
Yes. Currently if you define LHOST_IFACES and/or RHOST_IFACES netns is defined for
ltp_ns_veth2 and ltp_ns_veth1, but then there are used new variables => it's not working.
Or have I overlooked something?

Kind regards,
Petr


More information about the ltp mailing list