diff options
author | Filippo Valsorda <filippo@golang.org> | 2020-12-07 12:33:25 +0100 |
---|---|---|
committer | Filippo Valsorda <filippo@golang.org> | 2020-12-07 12:33:25 +0100 |
commit | f78276931172f6781bd448a010b547a9517abe41 (patch) | |
tree | 6973d7802de34bad75bfac9c89a4894ee36a1199 /src/runtime/crash_cgo_test.go | |
parent | 11087322f85d5ace6494fc194982d92f0a34df0f (diff) | |
parent | 9b955d2d3fcff6a5bc8bce7bafdc4c634a28e95b (diff) | |
download | go-f78276931172f6781bd448a010b547a9517abe41.tar.gz go-f78276931172f6781bd448a010b547a9517abe41.zip |
[dev.boringcrypto.go1.15] all: merge go1.15.6 into dev.boringcrypto.go1.15
Change-Id: I0c17db50b6cab4b59d26e8e247870c0d709665b5
Diffstat (limited to 'src/runtime/crash_cgo_test.go')
-rw-r--r-- | src/runtime/crash_cgo_test.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 4872189f16..57c3639f71 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -600,3 +600,16 @@ func TestEINTR(t *testing.T) { t.Fatalf("want %s, got %s\n", want, output) } } + +// Issue #42207. +func TestNeedmDeadlock(t *testing.T) { + switch runtime.GOOS { + case "plan9", "windows": + t.Skipf("no signals on %s", runtime.GOOS) + } + output := runTestProg(t, "testprogcgo", "NeedmDeadlock") + want := "OK\n" + if output != want { + t.Fatalf("want %s, got %s\n", want, output) + } +} |