[LTP] [RFC PATCH v7 07/11] lib/test_net.sh: Add function reset_ltp_netspace()

Petr Vorel
2017-07-26T14:55:28Z

Hi Alexey,

> > pid="$(echo $(readlink /var/run/netns/ltp_ns) | cut -f3 -d'/')"
> > - export LTP_NETNS="${LTP_NETNS:-ns_exec $pid net,mnt}"
> > + export LTP_NETNS="ns_exec $pid net,mnt"

> It is better to reset LTP_NETNS variable before calling
> init_ltp_netspace in reset_ltp_netspace().
OK, I'll do it :-). I wonder what is a real usage for LTP_NETNS configured by user...

Thanks for your review!

Kind regards,
Petr