1
0
mirror of https://github.com/golang/go synced 2024-11-26 06:27:58 -07:00
go/misc/cgo/testcarchive/testdata
Ian Lance Taylor d05ce23756 misc/cgo/testcarchive: permit SIGQUIT for TestSignalForwardingExternal
Occasionally the signal will be sent to a Go thread, which will cause
the program to exit with SIGQUIT rather than SIGSEGV.

Add TestSignalForwardingGo to test the case where the signal is
expected to be delivered to a Go thread.

This is a roll forward of CL 419014 which was rolled back in CL 424954.
This CL differs from 419014 in that it skips TestSignalForwardingGo
on darwin-amd64.

Fixes #53907

Change-Id: I5df3fd610c068df3bd48d9b3d7a9379248b97999
Reviewed-on: https://go-review.googlesource.com/c/go/+/425002
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2022-08-19 23:07:11 +00:00
..
libgo
libgo2 misc/cgo/testcarchive: permit SIGQUIT for TestSignalForwardingExternal 2022-08-19 23:07:11 +00:00
libgo3
libgo4
libgo6 all: update references to symbols moved from io/ioutil to io 2021-04-05 17:51:15 +00:00
libgo7 runtime: clear preemptStop in dropm 2019-11-02 05:52:33 +00:00
libgo8 runtime: install sigPreempt signal handler for c-archive/c-shared 2021-11-03 00:49:50 +00:00
p
main2.c runtime: don't forward SIGPIPE on macOS 2019-08-31 06:19:40 +00:00
main3.c runtime: don't forward SIGPIPE on macOS 2019-08-31 06:19:40 +00:00
main4.c runtime, cmd/dist, misc/cgo: enable c-archive for aix/ppc64 2019-04-02 16:03:24 +00:00
main5.c misc/cgo/testcarchive: permit SIGQUIT for TestSignalForwardingExternal 2022-08-19 23:07:11 +00:00
main6.c
main7.c misc/cgo/testcarchive: add missing exit(0) in main7.c 2019-11-04 05:27:25 +00:00
main8.c runtime: install sigPreempt signal handler for c-archive/c-shared 2021-11-03 00:49:50 +00:00
main_unix.c misc/cgo/testcarchive: don't use == for string equality in C code 2021-03-13 03:16:55 +00:00
main_windows.c
main.c