Merge pull request #24884 from Microsoft/jjh/TestBuildWorkdirWindowsPath

Windows: TestBuildWorkdirWindowsPath hard code fix
Upstream-commit: bdf4d9c1cd5fc6f91cb5ea831dfbe62870b4ab18
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2016-07-21 11:42:26 +02:00
committed by GitHub

View File

@ -6393,7 +6393,7 @@ func (s *DockerSuite) TestBuildWorkdirWindowsPath(c *check.C) {
name := "testbuildworkdirwindowspath"
_, err := buildImage(name, `
FROM windowsservercore
FROM `+WindowsBaseImage+`
RUN mkdir C:\\work
WORKDIR C:\\work
RUN if "%CD%" NEQ "C:\work" exit -1