network: test_net.sh: allow to run network tests on a single machine

When 'RHOST' environment variable is not 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:
./network.sh -i

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
2 files changed