mirror of https://github.com/golang/go.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 <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
5e9582e3f0
commit
7f736694fe
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue