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 94d255b + d697725 commit ba4b52dCopy full SHA for ba4b52d
libcontainer/cgroups/devices/v1_test.go
@@ -9,6 +9,7 @@ import (
9
"github.com/opencontainers/runc/libcontainer/cgroups/fscommon"
10
"github.com/opencontainers/runc/libcontainer/configs"
11
"github.com/opencontainers/runc/libcontainer/devices"
12
+ "github.com/opencontainers/runc/libcontainer/userns"
13
)
14
15
func init() {
@@ -17,6 +18,9 @@ func init() {
17
18
}
19
20
func TestSetV1Allow(t *testing.T) {
21
+ if userns.RunningInUserNS() {
22
+ t.Skip("userns detected; setV1 does nothing")
23
+ }
24
dir := t.TempDir()
25
26
for file, contents := range map[string]string{
0 commit comments