Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testKillProcess (0.16 sec)

  1. src/os/os_test.go

    						}
    					}
    				}
    				if err := Truncate(sizedTempDir+"/bar.txt", 0); err != nil {
    					t.Fatalf("Truncate failed: %v", err)
    				}
    			}
    		})
    	}
    }
    
    func testKillProcess(t *testing.T, processKiller func(p *Process)) {
    	testenv.MustHaveExec(t)
    	t.Parallel()
    
    	// Re-exec the test binary to start a process that hangs until stdin is closed.
    	cmd := testenv.Command(t, Args[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top