From 0547b5fb2ac98d67eea3ed56f4afae87dff3079c Mon Sep 17 00:00:00 2001 From: Zhang Kun Date: Thu, 23 Jul 2015 00:28:53 +0800 Subject: [PATCH] #14474 skip DockerSuite.TestRunCapAddCHOWN on lxc Signed-off-by: Zhang Kun --- integration-cli/docker_cli_run_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-cli/docker_cli_run_test.go b/integration-cli/docker_cli_run_test.go index 735d0d37b1..a1d0933d61 100644 --- a/integration-cli/docker_cli_run_test.go +++ b/integration-cli/docker_cli_run_test.go @@ -2478,6 +2478,7 @@ func (s *DockerSuite) TestDevicePermissions(c *check.C) { } func (s *DockerSuite) TestRunCapAddCHOWN(c *check.C) { + testRequires(c, NativeExecDriver) out, _ := dockerCmd(c, "run", "--cap-drop=ALL", "--cap-add=CHOWN", "busybox", "sh", "-c", "adduser -D -H newuser && chown newuser /home && echo ok") if actual := strings.Trim(out, "\r\n"); actual != "ok" {