Fix disable_network.sh and 'ip' path 49/12149/1
authorCarlos Goncalves <carlos.goncalves@neclab.eu>
Sun, 20 Mar 2016 21:23:44 +0000 (22:23 +0100)
committerGerald Kunzmann <kunzmann@docomolab-euro.com>
Mon, 11 Apr 2016 13:30:32 +0000 (13:30 +0000)
commit1c4dda16a83977be189d2f874125a844e674b26a
treee0e58738e85064a9d76090ee6930a699a4d402db
parent7b051407297547bdc7f56a42a5903bbd2655446a
Fix disable_network.sh and 'ip' path

Note: I propose to cherry-pick this change as currently there is no pod doing builts on master, so the only way is to check in stable/brahmaputra.

The 'ip' bin file can be located in different paths depending on the Linux
distribution so better not hardcode it to a specific path.

CentOS 6:     /sbin/ip
CentOS 7:     /usr/sbin/ip
Ubuntu 14.04: /sbin/ip

Change-Id: I0b02a221d3367ed4bfd8596992a2774f22138b54
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
(cherry picked from commit a1bab6ecdfbfaf5521f31d9539e256fc6e0cac29)
tests/run.sh