]> Cypherpunks repositories - gostls13.git/commit
runtime: use DontUpdate testprog for DontUpdate test
authorMichael Pratt <mpratt@google.com>
Wed, 21 May 2025 18:49:40 +0000 (14:49 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 21 May 2025 20:00:42 +0000 (13:00 -0700)
commitd54703c94ae906a5e851ae95909b6eb2f0314e19
tree3eca43d31558521b32e90bed7b927995b04c4198
parentd82cb03debff0180aa705129e8a00e89c3fe8251
runtime: use DontUpdate testprog for DontUpdate test

This is a typo in CL 670497. The test is using the wrong testprog
function.

The testprog also needs to assert that GOMAXPROCS doesn't change, not
that it is equal to NumCPU, for the GOMAXPROCS=4 case.

For #73193.

Cq-Include-Trybots: luci.golang.try:gotip-windows-amd64-longtest
Change-Id: I6a6a636cab6936aa8519e3553b70ab6641ca8010
Reviewed-on: https://go-review.googlesource.com/c/go/+/675097
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/gomaxprocs_windows_test.go
src/runtime/testdata/testprog/gomaxprocs_windows.go