Explorar o código

Windows: Fix TestRunWorkingDirectory

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard %!s(int64=9) %!d(string=hai) anos
pai
achega
257494bd0a
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      integration-cli/docker_cli_run_test.go

+ 1 - 4
integration-cli/docker_cli_run_test.go

@@ -123,13 +123,10 @@ func (s *DockerSuite) TestRunDetachedContainerIDPrinting(c *check.C) {
 
 // the working directory should be set correctly
 func (s *DockerSuite) TestRunWorkingDirectory(c *check.C) {
-	// TODO Windows: There's a Windows bug stopping this from working.
-	testRequires(c, DaemonIsLinux)
 	dir := "/root"
 	image := "busybox"
 	if daemonPlatform == "windows" {
-		dir = `/windows`
-		image = WindowsBaseImage
+		dir = `C:/Windows`
 	}
 
 	// First with -w