1
0
mirror of https://github.com/golang/go synced 2024-11-17 05:04:54 -07:00

runtime: fix SegvInCgo skip check

CL 390034 changed this throw message to add the goid, breaking the
match.

For #50979.

Change-Id: I52d97695484938701e5b7c269e2caf0c87d44d7a
Reviewed-on: https://go-review.googlesource.com/c/go/+/391139
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
Michael Pratt 2022-03-09 17:08:37 -05:00
parent 5a040c5a36
commit 1cf67709be

View File

@ -629,7 +629,7 @@ func TestSegv(t *testing.T) {
testenv.SkipFlaky(t, 50504)
}
}
if test == "SegvInCgo" && strings.Contains(got, "runtime: unknown pc") {
if test == "SegvInCgo" && strings.Contains(got, "unknown pc") {
testenv.SkipFlaky(t, 50979)
}