Merge pull request #22953 from Microsoft/jjh/TestRunWorkingDirectory

Windows: Fix TestRunWorkingDirectory
This commit is contained in:
Sebastiaan van Stijn 2016-05-25 17:54:39 +02:00
commit 8c70ab803c
1 changed files with 1 additions and 4 deletions

View File

@ -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