Browse code

Windows: Enable a couple of exec tests

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2016/08/31 07:03:18
Showing 2 changed files
... ...
@@ -26,8 +26,6 @@ func (s *DockerSuite) TestExecResizeApiHeightWidthNoInt(c *check.C) {
26 26
 
27 27
 // Part of #14845
28 28
 func (s *DockerSuite) TestExecResizeImmediatelyAfterExecStart(c *check.C) {
29
-	testRequires(c, DaemonIsLinux)
30
-
31 29
 	name := "exec_resize_test"
32 30
 	dockerCmd(c, "run", "-d", "-i", "-t", "--name", name, "--restart", "always", "busybox", "/bin/sh")
33 31
 
... ...
@@ -68,7 +68,6 @@ func (s *DockerSuite) TestExecInteractive(c *check.C) {
68 68
 }
69 69
 
70 70
 func (s *DockerSuite) TestExecAfterContainerRestart(c *check.C) {
71
-	testRequires(c, DaemonIsLinux)
72 71
 	out, _ := runSleepingContainer(c)
73 72
 	cleanedContainerID := strings.TrimSpace(out)
74 73
 	c.Assert(waitRun(cleanedContainerID), check.IsNil)
... ...
@@ -166,8 +165,6 @@ func (s *DockerSuite) TestExecTTYCloseStdin(c *check.C) {
166 166
 }
167 167
 
168 168
 func (s *DockerSuite) TestExecTTYWithoutStdin(c *check.C) {
169
-	// TODO Windows CI: This requires some work to port to Windows.
170
-	testRequires(c, DaemonIsLinux)
171 169
 	out, _ := dockerCmd(c, "run", "-d", "-ti", "busybox")
172 170
 	id := strings.TrimSpace(out)
173 171
 	c.Assert(waitRun(id), checker.IsNil)