From 1cf67709beb2d7e317cb6e6b983f3fc6304ebc1a Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Wed, 9 Mar 2022 17:08:37 -0500 Subject: [PATCH] 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 Run-TryBot: Michael Pratt TryBot-Result: Gopher Robot Reviewed-by: Bryan Mills --- src/runtime/crash_cgo_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go index 37509b12922..5e587122972 100644 --- a/src/runtime/crash_cgo_test.go +++ b/src/runtime/crash_cgo_test.go @@ -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) }