[LTP] [RFC PATCH v7 07/11] lib/test_net.sh: Add function reset_ltp_netspace()
Petr Vorel
pvorel@suse.cz
Wed Jul 26 16:55:28 CEST 2017
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
More information about the ltp
mailing list