Merge pull request #21514 from tonistiigi/disable-privileged-test-in-userns

Disable privileged test in user namespace
This commit is contained in:
Arnaud Porterie 2016-03-25 10:30:12 -07:00
commit e262817682

View file

@ -983,7 +983,7 @@ func (s *DockerSuite) TestRunPidsLimit(c *check.C) {
}
func (s *DockerSuite) TestRunPrivilegedAllowedDevices(c *check.C) {
testRequires(c, DaemonIsLinux)
testRequires(c, DaemonIsLinux, NotUserNamespace)
file := "/sys/fs/cgroup/devices/devices.list"
out, _ := dockerCmd(c, "run", "--privileged", "busybox", "cat", file)