Browse code

Windows: Enable some commit tests

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

John Howard authored on 2016/08/31 01:48:18
Showing 1 changed files
... ...
@@ -8,7 +8,6 @@ import (
8 8
 )
9 9
 
10 10
 func (s *DockerSuite) TestCommitAfterContainerIsDone(c *check.C) {
11
-	testRequires(c, DaemonIsLinux)
12 11
 	out, _ := dockerCmd(c, "run", "-i", "-a", "stdin", "busybox", "echo", "foo")
13 12
 
14 13
 	cleanedContainerID := strings.TrimSpace(out)
... ...
@@ -55,7 +54,6 @@ func (s *DockerSuite) TestCommitPausedContainer(c *check.C) {
55 55
 }
56 56
 
57 57
 func (s *DockerSuite) TestCommitNewFile(c *check.C) {
58
-	testRequires(c, DaemonIsLinux)
59 58
 	dockerCmd(c, "run", "--name", "commiter", "busybox", "/bin/sh", "-c", "echo koye > /foo")
60 59
 
61 60
 	imageID, _ := dockerCmd(c, "commit", "commiter")
... ...
@@ -87,7 +85,6 @@ func (s *DockerSuite) TestCommitHardlink(c *check.C) {
87 87
 }
88 88
 
89 89
 func (s *DockerSuite) TestCommitTTY(c *check.C) {
90
-	testRequires(c, DaemonIsLinux)
91 90
 	dockerCmd(c, "run", "-t", "--name", "tty", "busybox", "/bin/ls")
92 91
 
93 92
 	imageID, _ := dockerCmd(c, "commit", "tty", "ttytest")