- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestProcessAlreadyDone (0.15 sec)
-
src/os/exec_unix_test.go
} p.Wait() if got := p.Signal(Kill); got != ErrProcessDone { t.Errorf("got %v want %v", got, ErrProcessDone) } } // Lookup of a process that does not exist at time of lookup. func TestProcessAlreadyDone(t *testing.T) { // Theoretically MaxInt32 is a valid PID, but the chance of it actually // being used is extremely unlikely. pid := math.MaxInt32 if runtime.GOOS == "solaris" || runtime.GOOS == "illumos" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 2K bytes - Viewed (0)