mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Merge pull request #22953 from Microsoft/jjh/TestRunWorkingDirectory
Windows: Fix TestRunWorkingDirectory Upstream-commit: 8c70ab803c49816de8124703db6635e9c5c7ce25 Component: engine
This commit is contained in:
@@ -123,13 +123,10 @@ func (s *DockerSuite) TestRunDetachedContainerIDPrinting(c *check.C) {
|
||||
|
||||
// the working directory should be set correctly
|
||||
func (s *DockerSuite) TestRunWorkingDirectory(c *check.C) {
|
||||
// TODO Windows: There's a Windows bug stopping this from working.
|
||||
testRequires(c, DaemonIsLinux)
|
||||
dir := "/root"
|
||||
image := "busybox"
|
||||
if daemonPlatform == "windows" {
|
||||
dir = `/windows`
|
||||
image = WindowsBaseImage
|
||||
dir = `C:/Windows`
|
||||
}
|
||||
|
||||
// First with -w
|
||||
|
||||
Reference in New Issue
Block a user