- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestUseCgroupFD (0.15 sec)
-
src/syscall/exec_linux_test.go
if err != nil { t.Fatal(&os.PathError{Op: "open", Path: subCgroup, Err: err}) } t.Cleanup(func() { syscall.Close(cgroupFD) }) return cgroupFD, "/" + path.Base(subCgroup) } func TestUseCgroupFD(t *testing.T) { testenv.MustHaveExec(t) if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" { // Read and print own cgroup path. selfCg, err := os.ReadFile("/proc/self/cgroup") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0)