mirror of https://github.com/golang/go.git
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.
For #53907
Fixes #54056
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>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| libgo | ||
| libgo2 | ||
| libgo3 | ||
| libgo4 | ||
| libgo6 | ||
| libgo7 | ||
| libgo8 | ||
| p | ||
| main.c | ||
| main2.c | ||
| main3.c | ||
| main4.c | ||
| main5.c | ||
| main6.c | ||
| main7.c | ||
| main8.c | ||
| main_unix.c | ||
| main_windows.c | ||