From e6f88f091d59a32f7a1cd9baa18b9d792548f36d Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Tue, 24 Feb 2015 15:44:36 -0800 Subject: [PATCH] integ-cli: Skip some exec tests requiring same-host daemon This skips tests: - `TestRunExecDir` - `TestRunMutableNetworkFiles` Signed-off-by: Ahmet Alp Balkan --- integration-cli/docker_cli_exec_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration-cli/docker_cli_exec_test.go b/integration-cli/docker_cli_exec_test.go index 8db1c6fe84..be8a042868 100644 --- a/integration-cli/docker_cli_exec_test.go +++ b/integration-cli/docker_cli_exec_test.go @@ -529,6 +529,7 @@ func TestLinksPingLinkedContainersOnRename(t *testing.T) { } func TestRunExecDir(t *testing.T) { + testRequires(t, SameHostDaemon) cmd := exec.Command(dockerBinary, "run", "-d", "busybox", "top") out, _, err := runCommandWithOutput(cmd) if err != nil { @@ -629,6 +630,7 @@ func TestRunExecDir(t *testing.T) { } func TestRunMutableNetworkFiles(t *testing.T) { + testRequires(t, SameHostDaemon) defer deleteAllContainers() for _, fn := range []string{"resolv.conf", "hosts"} {