ltp-networking/nfs: use NFSv3 by default

NFSv3 is more compatible with recent linux distributions.

Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
ltp-networking/nfs: remove absolute path for showmount.

Showmount doesn't locate at /user/sbin/showmount on Ubuntu 12.04.

Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
ltp-networking/nfs: fix nfsstat01 typo

Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
ltp-networking/tcp_cmds/finger: fix finger test

Ubuntu use modified finger command. finger an unknown host test will
return nonzero on Ubuntu 12.04 even if execution success.

for example:
in Ubuntu
    finger @xxx 2>&1 1>/dev/null ; echo $?
will return
    finger: unknown host: xxx
    getaddrinfo: No address associated with hostname
    1
in CentOS
    finger @xxx 2>&1 1>/dev/null ; echo $?
will return
    finger: xxx: nodename nor servname provided, or not known
    0

Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
ltp-networking/tcp_cmds/netstat: fix netstat test

The netstat command will return nozero on Ubuntu 12.04 even if
execution success.

for example:
in Ubuntu
    $ netstat -s 1>/dev/null 2>&1 ; echo $?
    1
in CentOS
    $ netstat -s 1>/dev/null 2>&1 ; echo $?
    0

Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
ltp-networking/iproute: fix iproute test

ip02: set original mtu size back. this test will set mtu to 300.
ip05: if there is not only one route, using "head" command will get
      wrong result.

Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
Fix 743f2fcd5744744d649496d8f0524cf5ca7d3859.

The gethost is called from multicast testcases too, which I failed to
find, apologies everyone.

This commit moves the gethost to muticast directory and renames it to
mc_gethost and fixes all usages accordingly.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>