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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user