Browse code

fix lxc test machine

Signed-off-by: Jessica Frazelle <acidburn@docker.com>

Jessica Frazelle authored on 2015/07/31 13:30:47
Showing 1 changed files
... ...
@@ -2756,8 +2756,7 @@ func (s *DockerSuite) TestPtraceContainerProcsFromHost(c *check.C) {
2756 2756
 }
2757 2757
 
2758 2758
 func (s *DockerSuite) TestAppArmorDeniesPtrace(c *check.C) {
2759
-	testRequires(c, SameHostDaemon)
2760
-	testRequires(c, Apparmor)
2759
+	testRequires(c, SameHostDaemon, NativeExecDriver, Apparmor)
2761 2760
 
2762 2761
 	// Run through 'sh' so we are NOT pid 1. Pid 1 may be able to trace
2763 2762
 	// itself, but pid>1 should not be able to trace pid1.