mirror of
https://github.com/moby/moby.git
synced 2025-08-01 05:47:11 +03:00
Windows: TestBuildWorkdirWindowsPath hard code fix
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user