mirror of
https://github.com/moby/moby.git
synced 2025-08-01 05:47:11 +03:00
Introduce a environment package in integration-cli
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
@ -10,6 +10,7 @@ import (
|
||||
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/docker/docker/api/types/container"
|
||||
"github.com/docker/docker/integration-cli/environment"
|
||||
"github.com/docker/docker/pkg/integration/checker"
|
||||
icmd "github.com/docker/docker/pkg/integration/cmd"
|
||||
"github.com/go-check/check"
|
||||
@ -212,7 +213,7 @@ func (s *DockerSuite) TestInspectBindMountPoint(c *check.C) {
|
||||
if daemonPlatform == "windows" {
|
||||
modifier = ""
|
||||
// TODO Windows: Temporary check - remove once TP5 support is dropped
|
||||
if windowsDaemonKV < 14350 {
|
||||
if environment.WindowsKernelVersion(testEnv.DaemonKernelVersion()) < 14350 {
|
||||
c.Skip("Needs later Windows build for RO volumes")
|
||||
}
|
||||
// Linux creates the host directory if it doesn't exist. Windows does not.
|
||||
|
Reference in New Issue
Block a user