]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo/internal/testsanitizers: add test case for #66427
authorCherry Mui <cherryyz@google.com>
Fri, 26 Apr 2024 19:39:14 +0000 (15:39 -0400)
committerCherry Mui <cherryyz@google.com>
Mon, 6 May 2024 21:14:49 +0000 (21:14 +0000)
commite988d6c423209864a2e00f333fe66cbddce4ccf1
treebfb0576c0418779c49c232468b77874860be637c
parentbe003bd00b14fa29cd0876fb4fab627a007e2bbf
cmd/cgo/internal/testsanitizers: add test case for #66427

The added program fails consistently with "signal handler spoils
errno" error under TSAN.

For #66427.

Change-Id: Id57b9e62aa30b273a1c793aecd86ec1f211062fc
Reviewed-on: https://go-review.googlesource.com/c/go/+/581722
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/cgo/internal/testsanitizers/testdata/tsan15.go [new file with mode: 0644]
src/cmd/cgo/internal/testsanitizers/tsan_test.go