Merge pull request #15193 from jfrazelle/fix-lxc

fix lxc test machine
Upstream-commit: 1032202b88145478c2206873056497a03a758bb9
Component: engine
This commit is contained in:
Tibor Vass
2015-07-31 09:13:52 -04:00

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.