fix lxc test machine

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2015-07-30 21:30:47 -07:00
parent 500a314713
commit f12e18d7ef

View file

@ -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.