- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for deathSignalParent (0.16 sec)
-
src/syscall/syscall_freebsd_test.go
//go:build freebsd package syscall_test import ( "os" "testing" ) func TestMain(m *testing.M) { if os.Getenv("GO_DEATHSIG_PARENT") == "1" { deathSignalParent() } else if os.Getenv("GO_DEATHSIG_CHILD") == "1" { deathSignalChild() } os.Exit(m.Run())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 01:17:28 UTC 2022 - 424 bytes - Viewed (0) -
src/syscall/exec_pdeathsig_test.go
} } else if got == "skip\n" { t.Skipf("skipping: parent could not run child program as selected user") } else { t.Fatalf("did not receive start from child, received %q, %v", got, err) } } func deathSignalParent() { var ( u *user.User err error ) if os.Getuid() == 0 { tryUsers := []string{"nobody"} if testenv.Builder() != "" { tryUsers = append(tryUsers, "gopher") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 21:23:17 UTC 2023 - 4.5K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
if err != syscall.EOPNOTSUPP { t.Fatalf("Fchmodat: unexpected error: %v, expected EOPNOTSUPP", err) } } func TestMain(m *testing.M) { if os.Getenv("GO_DEATHSIG_PARENT") == "1" { deathSignalParent() } else if os.Getenv("GO_DEATHSIG_CHILD") == "1" { deathSignalChild() } else if os.Getenv("GO_SYSCALL_NOERROR") == "1" { syscallNoError() } os.Exit(m.Run()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0)