]> Cypherpunks repositories - gostls13.git/commit
runtime: check TestUsingVDSO ExitError type assertion
authorMichael Pratt <mpratt@google.com>
Wed, 23 Jul 2025 20:56:50 +0000 (16:56 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 23 Jul 2025 21:21:16 +0000 (14:21 -0700)
commit98a031193b93d7b0e8353810351c9544250e7bcd
tree2153ca1fd42f8a5953d5a917b43562fefcc519a2
parent6bb42997c8741f301f2655175abe2b6bdc943ed8
runtime: check TestUsingVDSO ExitError type assertion

Currently this test panics if the error is not an ExitError. We aren't
expecting other errors, but we want to continue to the t.Fatal so the
error contents actually get logged.

For #74672.

Change-Id: I6a6a636cee5ddac500ed7ec549340b02944101ab
Reviewed-on: https://go-review.googlesource.com/c/go/+/689956
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>
src/runtime/vdso_test.go