[LTP] [PATCH][RFC] network: test_net.sh: allow to run tests on a single machine

Cyril Hrubis chrubis@suse.cz
Tue Nov 22 09:38:41 CET 2016


Hi!
> When 'TST_USE_NETNS' environment variable is defined, test_net.sh
> will setup 'ltp_ns' netns and configure veth pair according to
> other LTP network variables. Then, each tst_rhost_run() call will
> be executed in the new netns on the same host.
> 
> Usage:
> TST_USE_NETNS=1... ./network.sh -i

Looks like a smart idea to me, the implementation looks ok as well. I
wonder if we should add these kind of network tests into default
scenario...

The patch misses any documentation though, it should be described
properly somewhere.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list