diff --git a/integration-cli/docker_cli_daemon_test.go b/integration-cli/docker_cli_daemon_test.go index 42ffe6cd4d..9ec83552bc 100644 --- a/integration-cli/docker_cli_daemon_test.go +++ b/integration-cli/docker_cli_daemon_test.go @@ -2107,7 +2107,7 @@ func (s *DockerDaemonSuite) TestRunLinksChanged(c *check.C) { } func (s *DockerDaemonSuite) TestDaemonStartWithoutColors(c *check.C) { - testRequires(c, DaemonIsLinux) + testRequires(c, DaemonIsLinux, NotPpc64le) newD := NewDaemon(c) infoLog := "\x1b[34mINFO\x1b" @@ -2136,7 +2136,7 @@ func (s *DockerDaemonSuite) TestDaemonStartWithoutColors(c *check.C) { } func (s *DockerDaemonSuite) TestDaemonDebugLog(c *check.C) { - testRequires(c, DaemonIsLinux) + testRequires(c, DaemonIsLinux, NotPpc64le) newD := NewDaemon(c) debugLog := "\x1b[37mDEBU\x1b" diff --git a/integration-cli/requirements.go b/integration-cli/requirements.go index 8439f0774b..ff7ffd000d 100644 --- a/integration-cli/requirements.go +++ b/integration-cli/requirements.go @@ -33,6 +33,10 @@ var ( func() bool { return os.Getenv("DOCKER_ENGINE_GOARCH") != "arm" }, "Test requires a daemon not running on ARM", } + NotPpc64le = testRequirement{ + func() bool { return os.Getenv("DOCKER_ENGINE_GOARCH") != "ppc64le" }, + "Test requires a daemon not running on ppc64le", + } SameHostDaemon = testRequirement{ func() bool { return isLocalDaemon }, "Test requires docker daemon to run on the same machine as CLI",