Browse Source

fix lxc test machine

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
Jessica Frazelle 10 years ago
parent
commit
f12e18d7ef
1 changed files with 1 additions and 2 deletions
  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) {
 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
 	// 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.
 	// itself, but pid>1 should not be able to trace pid1.