aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2022-03-09 17:08:37 -0500
committerMichael Pratt <mpratt@google.com>2022-03-10 16:06:29 +0000
commit1cf67709beb2d7e317cb6e6b983f3fc6304ebc1a (patch)
tree8c16597522bd98405781e5aab3484a0c8c007595 /src
parent5a040c5a3678857f03e77822956c916e8274b2c3 (diff)
downloadgo-1cf67709beb2d7e317cb6e6b983f3fc6304ebc1a.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/runtime/crash_cgo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/crash_cgo_test.go b/src/runtime/crash_cgo_test.go
index 37509b1292..5e58712297 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)
}