Remove unnecessary -i flag from docker exec invocations.

Fixes #579.
This commit is contained in:
Adam Harrison committed 2015-04-20 14:35:18 +01:00
1 parent 16f3a96a67
commit f3ab25a512
7 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ assert_raises "docker_on $HOST1 ps | grep weave" 0
docker_on $HOST1 rm -f c1 || true
run_on $HOST1 sudo ./weave --local run 10.2.6.5/24 -ti --name=c1 ubuntu
ok=$(docker -H tcp://$HOST1:2375 exec -i c1 sh -c "ifconfig | grep ethwe")
ok=$(docker -H tcp://$HOST1:2375 exec c1 sh -c "ifconfig | grep ethwe")
assert "test -n \"$ok\" && echo pass" "pass"
docker_on $HOST1 rm -f c1 || true