From 8535caec3a509046a77baeb190e134d2eca1f257 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Tue, 24 Feb 2015 21:03:50 -0800 Subject: [PATCH] integ-cli: skip TestRunBindMounts (same-host daemon requirement) `TestRunBindMounts` requires daemon to be on the same host. Running this cli test on Linux is fair enough coverage for this functionality and we can skip this for platforms where daemon cannot run side-by-side with the cli for now. Signed-off-by: Ahmet Alp Balkan Upstream-commit: 26444e5e9ad3bc2babd62b76a9a4b46d82414738 Component: engine --- components/engine/integration-cli/docker_cli_run_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/components/engine/integration-cli/docker_cli_run_test.go b/components/engine/integration-cli/docker_cli_run_test.go index 1051ac3114..d15cbd0680 100644 --- a/components/engine/integration-cli/docker_cli_run_test.go +++ b/components/engine/integration-cli/docker_cli_run_test.go @@ -2190,6 +2190,7 @@ func TestRunEntrypoint(t *testing.T) { } func TestRunBindMounts(t *testing.T) { + testRequires(t, SameHostDaemon) defer deleteAllContainers() tmpDir, err := ioutil.TempDir("", "docker-test-container")