1
0
mirror of https://github.com/moby/moby.git synced 2025-12-04 19:23:06 +03:00

Fixes some integration-cli on userns

Mainly adding requirements on Network or NotUserNamespace to make it pass.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2016-11-23 14:03:53 +01:00
parent 5afdacb20e
commit eb5fe064cf
4 changed files with 4 additions and 4 deletions

View File

@@ -1312,7 +1312,7 @@ func (s *DockerSuite) TestUserNoEffectiveCapabilitiesChroot(c *check.C) {
}
func (s *DockerSuite) TestUserNoEffectiveCapabilitiesMknod(c *check.C) {
testRequires(c, DaemonIsLinux)
testRequires(c, DaemonIsLinux, NotUserNamespace)
ensureSyscallTest(c)
// test that a root user has default capability CAP_MKNOD