浏览代码

fix lxc test machine

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
Jessica Frazelle 10 年之前
父节点
当前提交
f12e18d7ef
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      integration-cli/docker_cli_run_test.go

+ 1 - 2
integration-cli/docker_cli_run_test.go

@@ -2756,8 +2756,7 @@ func (s *DockerSuite) TestPtraceContainerProcsFromHost(c *check.C) {
 }
 
 func (s *DockerSuite) TestAppArmorDeniesPtrace(c *check.C) {
-	testRequires(c, SameHostDaemon)
-	testRequires(c, Apparmor)
+	testRequires(c, SameHostDaemon, NativeExecDriver, Apparmor)
 
 	// Run through 'sh' so we are NOT pid 1. Pid 1 may be able to trace
 	// itself, but pid>1 should not be able to trace pid1.