From f38d2ed11505a484ce49bc8be8cd1263205a7b57 Mon Sep 17 00:00:00 2001 From: Michael Matloob Date: Tue, 30 Jun 2026 13:18:27 -0400 Subject: [PATCH] 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 Reviewed-by: Dmitri Shuralyov Reviewed-by: Michael Matloob Reviewed-by: Dmitri Shuralyov --- src/cmd/go/testdata/script/govcs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/testdata/script/govcs.txt b/src/cmd/go/testdata/script/govcs.txt index 7479a2b1f7..3d3fdd4504 100644 --- a/src/cmd/go/testdata/script/govcs.txt +++ b/src/cmd/go/testdata/script/govcs.txt @@ -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=