1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #24884 from Microsoft/jjh/TestBuildWorkdirWindowsPath

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

View file

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