replace test usage of ifconfig with ip link show

This commit is contained in:
Paul Bellamy committed 2015-05-19 09:48:12 +01:00
1 parent e9963945d6
commit d8e1d0798e
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ run_on $HOST1 sudo ./weave --local launch -iprange 10.2.5.0/24
assert_raises "docker_on $HOST1 ps | grep weave"
run_on $HOST1 sudo ./weave --local run 10.2.6.5/24 -ti --name=c1 gliderlabs/alpine /bin/sh
assert_raises "exec_on $HOST1 c1 ifconfig | grep ethwe"
assert_raises "exec_on $HOST1 c1 ip link show ethwe"
run_on $HOST1 sudo ./weave --local run -ti --name=c2 gliderlabs/alpine /bin/sh
assert_raises "exec_on $HOST1 c2 ifconfig | grep ethwe"