Ver código fonte

Merge pull request #17488 from jfrazelle/skip-windows-test

cant run volume on windows w remote daemon host
Brian Goff 9 anos atrás
pai
commit
8d62f243c7
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      integration-cli/docker_cli_run_test.go

+ 2 - 1
integration-cli/docker_cli_run_test.go

@@ -508,7 +508,7 @@ func (s *DockerSuite) TestRunVolumesFromSymlinkPath(c *check.C) {
 		prefix = `c:`
 		dfContents = `FROM ` + WindowsBaseImage + `
 	    RUN mkdir c:\home
-		RUN mklink /D c:\foo c:\home 
+		RUN mklink /D c:\foo c:\home
 		VOLUME ["c:/foo/bar"]
 		ENTRYPOINT c:\windows\system32\cmd.exe`
 	}
@@ -2161,6 +2161,7 @@ func (s *DockerSuite) TestRunNoOutputFromPullInStdout(c *check.C) {
 }
 
 func (s *DockerSuite) TestRunVolumesCleanPaths(c *check.C) {
+	testRequires(c, SameHostDaemon)
 	prefix := ""
 	slash := `/`
 	if daemonPlatform == "windows" {