Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestWaitInterrupt (0.37 sec)

  1. src/os/exec/exec_test.go

    		t.Error(err)
    		cmd.Process.Kill()
    		cmd.Wait()
    		t.FailNow()
    	}
    	if buf.Len() > 0 {
    		t.Logf("stdout %v:\n%s", cmd.Args, buf)
    	}
    
    	return cmd
    }
    
    func TestWaitInterrupt(t *testing.T) {
    	t.Parallel()
    
    	// tooLong is an arbitrary duration that is expected to be much longer than
    	// the test runs, but short enough that leaked processes will eventually exit
    	// on their own.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top