Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestThreadExhaustion (0.47 sec)

  1. src/runtime/crash_test.go

    	}
    	for _, s := range want[1:] {
    		if !strings.Contains(output, s) {
    			t.Errorf("output does not contain %q", s)
    		}
    	}
    	if t.Failed() {
    		t.Logf("output:\n%s", output)
    	}
    }
    
    func TestThreadExhaustion(t *testing.T) {
    	output := runTestProg(t, "testprog", "ThreadExhaustion")
    	want := "runtime: program exceeds 10-thread limit\nfatal error: thread exhaustion"
    	if !strings.HasPrefix(output, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top