aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/proc_test.go')
-rw-r--r--src/runtime/proc_test.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/runtime/proc_test.go b/src/runtime/proc_test.go
index 0a54240984..a930ea707f 100644
--- a/src/runtime/proc_test.go
+++ b/src/runtime/proc_test.go
@@ -1158,13 +1158,3 @@ func TestBigGOMAXPROCS(t *testing.T) {
t.Errorf("output:\n%s\nwanted:\nunknown function: NonexistentTest", output)
}
}
-
-func TestCgoToGoCallGoexit(t *testing.T) {
- if runtime.GOOS == "plan9" || runtime.GOOS == "windows" {
- t.Skipf("no pthreads on %s", runtime.GOOS)
- }
- output := runTestProg(t, "testprogcgo", "CgoToGoCallGoexit")
- if !strings.Contains(output, "runtime.Goexit called in a thread that was not created by the Go runtime") {
- t.Fatalf("output should contain %s, got %s", "runtime.Goexit called in a thread that was not created by the Go runtime", output)
- }
-}