]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix SegvInCgo skip check
authorMichael Pratt <mpratt@google.com>
Wed, 9 Mar 2022 22:08:37 +0000 (17:08 -0500)
committerMichael Pratt <mpratt@google.com>
Thu, 10 Mar 2022 16:06:29 +0000 (16:06 +0000)
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>
src/runtime/crash_cgo_test.go

index 37509b129228df26eb579fe9f7463d06eb8e753a..5e5871229729ef1de41a44853668a7d7cf684d4e 100644 (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)
                        }