We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb22165 + bac8b4f commit 8033a83Copy full SHA for 8033a83
libcontainer/configs/validate/validator_test.go
@@ -148,6 +148,9 @@ func TestValidateSecurityWithoutNEWNS(t *testing.T) {
148
}
149
150
func TestValidateUsernamespace(t *testing.T) {
151
+ if _, err := os.Stat("/proc/self/ns/user"); os.IsNotExist(err) {
152
+ t.Skip("userns is unsupported")
153
+ }
154
config := &configs.Config{
155
Rootfs: "/var",
156
Namespaces: configs.Namespaces(
0 commit comments