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 7479ae9 + 0ec9fe6 commit fdbc3d6Copy full SHA for fdbc3d6
validation/process_rlimits.go
@@ -1,10 +1,18 @@
1
package main
2
3
import (
4
+ "os"
5
+ "runtime"
6
+
7
"github.com/opencontainers/runtime-tools/validation/util"
8
)
9
10
func main() {
11
+ if "linux" != runtime.GOOS && "solaris" != runtime.GOOS {
12
+ util.Skip("POSIX-specific process.rlimits test", map[string]string{"OS": runtime.GOOS})
13
+ os.Exit(0)
14
+ }
15
16
g := util.GetDefaultGenerator()
17
g.AddProcessRlimits("RLIMIT_NOFILE", 1024, 1024)
18
err := util.RuntimeInsideValidate(g, nil)
0 commit comments