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

Merge pull request #38907 from Microsoft/jjh/fixrunuserdefaults

Windows:Fix TestRunUserDefaults
This commit is contained in:
Tibor Vass 2019-03-19 18:20:19 -07:00 committed by GitHub
commit 540cdc0ce5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -715,7 +715,7 @@ func (s *DockerSuite) TestRunExitCode(c *check.C) {
func (s *DockerSuite) TestRunUserDefaults(c *check.C) {
expected := "uid=0(root) gid=0(root)"
if testEnv.OSType == "windows" {
expected = "uid=1000(ContainerAdministrator) gid=1000(ContainerAdministrator)"
expected = "uid=0(root) gid=0(root) groups=0(root)"
}
out, _ := dockerCmd(c, "run", "busybox", "id")
if !strings.Contains(out, expected) {