cmd/go/testdata/script: don't use network in govcs script test

We can use one of the vcs-test git repos instead for the cases where
we actually try to access a git repo. The rest of the cases don't try to
go to VCS.

For #80243

Change-Id: I38d6f1f7fa28282fb036ca9dae0a53826a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/795900
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Michael Matloob 2026-06-30 13:18:27 -04:00 committed by Michael Matloob
parent 0858430834
commit f38d2ed115

View File

@ -61,7 +61,7 @@ stderr '^go: rsc.io/nonexist.fossil/hello: GOVCS disallows using fossil for publ
# git is OK by default
env GOVCS=
env GONOSUMDB='*'
[net:rsc.io] [git] [!short] go get rsc.io/sampler
[git] [!short] go get vcs-test.golang.org/git/hello.git
# hg is OK by default
env GOVCS=