Windows: TestRunCleanupCmdOnEntrypoint for nanoserver

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2016-07-22 09:05:38 -07:00
Родитель b059a3b820
Коммит 0d4b8cbdac
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1770,7 +1770,11 @@ func (s *DockerSuite) TestRunCleanupCmdOnEntrypoint(c *check.C) {
out = strings.TrimSpace(out)
expected := "root"
if daemonPlatform == "windows" {
expected = `user manager\containeradministrator`
if WindowsBaseImage == "windowsservercore" {
expected = `user manager\containeradministrator`
} else {
expected = `ContainerAdministrator` // nanoserver
}
}
if out != expected {
c.Fatalf("Expected output %s, got %q", expected, out)