1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Windows: Fix TestLinksMultipleWithSameName

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 473a32ba8f2d2d97eb0b3b745392f8b567fbaa2d
Component: engine
This commit is contained in:
John Howard
2016-01-21 09:51:09 -08:00
parent eb8e91aac7
commit 00230ffb92

View File

@@ -214,6 +214,7 @@ func (s *DockerSuite) TestLinksEtcHostsRegularFile(c *check.C) {
}
func (s *DockerSuite) TestLinksMultipleWithSameName(c *check.C) {
testRequires(c, DaemonIsLinux)
dockerCmd(c, "run", "-d", "--name=upstream-a", "busybox", "top")
dockerCmd(c, "run", "-d", "--name=upstream-b", "busybox", "top")
dockerCmd(c, "run", "--link", "upstream-a:upstream", "--link", "upstream-b:upstream", "busybox", "sh", "-c", "ping -c 1 upstream")