From: Ian Lance Taylor Date: Tue, 20 Oct 2020 19:54:20 +0000 (-0700) Subject: runtime: use GOTRACEBACK=system for TestCgoExecSignalMask X-Git-Tag: go1.16beta1~631 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7f736694fe9b254efa7155a0a5da87c2c18e6078;p=gostls13.git runtime: use GOTRACEBACK=system for TestCgoExecSignalMask Try to get a bit more information to understand #42093. For #42093 Change-Id: I818feb08d7561151d52eba3e88c418b55b9f9c1e Reviewed-on: https://go-review.googlesource.com/c/go/+/264018 Trust: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Bryan C. Mills TryBot-Result: Go Bot --- diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 4872189f16..b200984050 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -154,7 +154,7 @@ func TestCgoExecSignalMask(t *testing.T) { case "windows", "plan9": t.Skipf("skipping signal mask test on %s", runtime.GOOS) } - got := runTestProg(t, "testprogcgo", "CgoExecSignalMask") + got := runTestProg(t, "testprogcgo", "CgoExecSignalMask", "GOTRACEBACK=system") want := "OK\n" if got != want { t.Errorf("expected %q, got %v", want, got)