Browse Source

Windows: Fix test regression from 19155

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 9 years ago
parent
commit
d3392a3bde
1 changed files with 2 additions and 2 deletions
  1. 2 2
      integration-cli/docker_cli_build_test.go

+ 2 - 2
integration-cli/docker_cli_build_test.go

@@ -6170,8 +6170,8 @@ func (s *DockerSuite) TestBuildBuildTimeArgExpansion(c *check.C) {
 	if err != nil {
 	if err != nil {
 		c.Fatal(err)
 		c.Fatal(err)
 	}
 	}
-	if res != filepath.Clean(wdVal) {
-		c.Fatalf("Config.WorkingDir value mismatch. Expected: %s, got: %s", filepath.Clean(wdVal), res)
+	if res != filepath.ToSlash(filepath.Clean(wdVal)) {
+		c.Fatalf("Config.WorkingDir value mismatch. Expected: %s, got: %s", filepath.ToSlash(filepath.Clean(wdVal)), res)
 	}
 	}
 
 
 	err = inspectFieldAndMarshall(imgName, "Config.Env", &resArr)
 	err = inspectFieldAndMarshall(imgName, "Config.Env", &resArr)