Signed-off-by: John Howard <jhoward@microsoft.com>
Revert "Combine SetupWorkingDirectory for Linux and Windows" This reverts commit ec31741ca186278ea60faf49f85087c493e78806. Upstream-commit: 54320d8d187d8b33be4fd33cfb3f8e486c6c8d90 Component: engine
This commit is contained in:
@ -1724,7 +1724,7 @@ func (s *DockerSuite) TestRunWorkdirExistsAndIsFile(c *check.C) {
|
||||
expected := "Cannot mkdir: /bin/cat is not a directory"
|
||||
if daemonPlatform == "windows" {
|
||||
existingFile = `\windows\system32\ntdll.dll`
|
||||
expected = `Cannot mkdir: \windows\system32\ntdll.dll is not a directory.`
|
||||
expected = "The directory name is invalid"
|
||||
}
|
||||
|
||||
out, exitCode, err := dockerCmdWithError("run", "-w", existingFile, "busybox")
|
||||
|
||||
Reference in New Issue
Block a user