Browse code

Require linux for TestExecAfterContainerRestart

All the other exec tests require linux except this one and it is
causing failures in the TP4 test runs.

ref:
https://jenkins.dockerproject.org/job/Docker-PRs-WoW-TP4/1076/console

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>

Michael Crosby authored on 2016/02/17 10:50:50
Showing 1 changed files
... ...
@@ -66,6 +66,7 @@ func (s *DockerSuite) TestExecInteractive(c *check.C) {
66 66
 }
67 67
 
68 68
 func (s *DockerSuite) TestExecAfterContainerRestart(c *check.C) {
69
+	testRequires(c, DaemonIsLinux)
69 70
 	out, _ := runSleepingContainer(c, "-d")
70 71
 	cleanedContainerID := strings.TrimSpace(out)
71 72
 	c.Assert(waitRun(cleanedContainerID), check.IsNil)