Browse code

Windows: Fix test regression from 19155

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2016/01/15 04:56:59
Showing 1 changed files
... ...
@@ -6170,8 +6170,8 @@ func (s *DockerSuite) TestBuildBuildTimeArgExpansion(c *check.C) {
6170 6170
 	if err != nil {
6171 6171
 		c.Fatal(err)
6172 6172
 	}
6173
-	if res != filepath.Clean(wdVal) {
6174
-		c.Fatalf("Config.WorkingDir value mismatch. Expected: %s, got: %s", filepath.Clean(wdVal), res)
6173
+	if res != filepath.ToSlash(filepath.Clean(wdVal)) {
6174
+		c.Fatalf("Config.WorkingDir value mismatch. Expected: %s, got: %s", filepath.ToSlash(filepath.Clean(wdVal)), res)
6175 6175
 	}
6176 6176
 
6177 6177
 	err = inspectFieldAndMarshall(imgName, "Config.Env", &resArr)