]> Cypherpunks repositories - gostls13.git/commit
cmd/go: clear GOOS environment variable in TestScript/env_write
authorBryan C. Mills <bcmills@google.com>
Tue, 23 May 2023 03:28:50 +0000 (23:28 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 23 May 2023 04:38:43 +0000 (04:38 +0000)
commite4e8f9b8ffff9d1bcbaaf4b98307d0b88c26678f
tree03a4bb8c74f4f930b0d653dd3e080a516e4c3dbb
parent88704b18ce9db36c04d788b688c42ef372ec2a5e
cmd/go: clear GOOS environment variable in TestScript/env_write

Also clear the GOOS and GOARCH from the env file before testing other
environment variables.

This fixes various builders after CL 496957.

Change-Id: Ib0308ca48f9e64c1c872f1d26a92a1dedf6330f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/497256
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/go/testdata/script/env_write.txt