]> Cypherpunks repositories - gostls13.git/commit
internal/trace: end test programs with SIGQUIT
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 11 Jun 2025 21:20:05 +0000 (21:20 +0000)
committerMichael Knyszek <mknyszek@google.com>
Thu, 12 Jun 2025 20:23:34 +0000 (13:23 -0700)
commit934d5f2cf703c6aad9f0ce6a73a3922d1af83049
tree261f22a8dff2601fc41b3abc257b1fd42ffaa685
parent5a08865de339b5eeb8ad1c52635ea8ba505aafec
internal/trace: end test programs with SIGQUIT

This change switches from using testenv.Command to
testenv.CommandContext which is a little bit friendlier. It also
switches away from using 'go run' to 'go build' and running the
resulting binary explicitly. This helps eliminate any questions about
signal handling and propagation.

For #72740.

Change-Id: Ife8010da89a7bc439e061fe0c9c6b1f5620d90f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/680977
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Bypass: Michael Knyszek <mknyszek@google.com>
src/internal/trace/trace_test.go