Browse code

Windows: Enable some create CI tests

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

John Howard authored on 2016/08/31 06:38:19
Showing 1 changed files
... ...
@@ -105,8 +105,6 @@ func (s *DockerSuite) TestCreateHostConfig(c *check.C) {
105 105
 }
106 106
 
107 107
 func (s *DockerSuite) TestCreateWithPortRange(c *check.C) {
108
-	// Windows does not currently support port ranges.
109
-	testRequires(c, DaemonIsLinux)
110 108
 	out, _ := dockerCmd(c, "create", "-p", "3300-3303:3300-3303/tcp", "busybox", "echo")
111 109
 
112 110
 	cleanedContainerID := strings.TrimSpace(out)
... ...
@@ -136,8 +134,6 @@ func (s *DockerSuite) TestCreateWithPortRange(c *check.C) {
136 136
 }
137 137
 
138 138
 func (s *DockerSuite) TestCreateWithLargePortRange(c *check.C) {
139
-	// Windows does not currently support port ranges.
140
-	testRequires(c, DaemonIsLinux)
141 139
 	out, _ := dockerCmd(c, "create", "-p", "1-65535:1-65535/tcp", "busybox", "echo")
142 140
 
143 141
 	cleanedContainerID := strings.TrimSpace(out)
... ...
@@ -481,7 +477,6 @@ func (s *DockerSuite) TestCreate64ByteHexID(c *check.C) {
481 481
 
482 482
 // Test case for #23498
483 483
 func (s *DockerSuite) TestCreateUnsetEntrypoint(c *check.C) {
484
-	testRequires(c, DaemonIsLinux)
485 484
 	name := "test-entrypoint"
486 485
 	dockerfile := `FROM busybox
487 486
 ADD entrypoint.sh /entrypoint.sh