]> Cypherpunks repositories - gostls13.git/commit
cmd/go: set GOWORK=off explicitly in script tests that cd to GOROOT
authorBryan C. Mills <bcmills@google.com>
Mon, 27 Feb 2023 22:24:15 +0000 (22:24 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 28 Feb 2023 18:50:20 +0000 (18:50 +0000)
commit454198ab943a55a0609cfb10d14502a358e88101
tree182eeea918615fd13c76e173fd74af4f178ad5c5
parentaf758177c06f24c870bb0b07c3f23da4943f12cf
cmd/go: set GOWORK=off explicitly in script tests that cd to GOROOT

Some folks working on the Go project may have a go.work file in
GOROOT/src in order to test changes in x repos. 'go test cmd/go'
should not fail if that is the case.

For #58767.

Change-Id: I0e57b15fb1d3e4abc4903c177434626c9f125cae
Reviewed-on: https://go-review.googlesource.com/c/go/+/471601
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/go/testdata/script/list_std_vendor.txt
src/cmd/go/testdata/script/mod_doc.txt
src/cmd/go/testdata/script/mod_list_std.txt