mirror of
https://github.com/moby/moby.git
synced 2025-07-30 18:23:29 +03:00
Use testEnv methods and remove most of the global variables
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
@ -16,7 +16,7 @@ import (
|
||||
func (s *DockerSuite) TestBuildAPIDockerFileRemote(c *check.C) {
|
||||
testRequires(c, NotUserNamespace)
|
||||
var testD string
|
||||
if daemonPlatform == "windows" {
|
||||
if testEnv.DaemonPlatform() == "windows" {
|
||||
testD = `FROM busybox
|
||||
COPY * /tmp/
|
||||
RUN find / -name ba*
|
||||
|
Reference in New Issue
Block a user