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:
commit
540cdc0ce5
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue