From 773dae7353f0c7c743074f3c2deb4397f63184fc 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 net in mod_pseudo_cache For #80243 Change-Id: I2f2a8ba043e8106d3bf7015f59beb2216a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/795905 Reviewed-by: Dmitri Shuralyov Reviewed-by: Michael Matloob LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com Reviewed-by: Dmitri Shuralyov --- .../go/testdata/script/mod_pseudo_cache.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/cmd/go/testdata/script/mod_pseudo_cache.txt b/src/cmd/go/testdata/script/mod_pseudo_cache.txt index bcaefa2f79..3f0493ca68 100644 --- a/src/cmd/go/testdata/script/mod_pseudo_cache.txt +++ b/src/cmd/go/testdata/script/mod_pseudo_cache.txt @@ -1,5 +1,5 @@ -[!net:golang.org] skip [!git] skip +[short] skip env GO111MODULE=on env GOPROXY=direct @@ -9,21 +9,21 @@ env GOSUMDB=off # pseudo-version of a commit, future resolution of that commit by hash should # choose the highest appropriate pseudo-version instead of the cached one. -go mod download -json golang.org/x/text@v0.0.0-20171215141712-a1b916ed6726 -stdout '"Version": "v0.0.0-20171215141712-a1b916ed6726",' +go mod download -json vcs-test.golang.org/git/commit-after-tag.git@v0.0.0-20190715211727-b325d8217783 +stdout '"Version": "v0.0.0-20190715211727-b325d8217783",' # If GOPROXY is 'off', lookups should use whatever pseudo-version is available. env GOPROXY=off -go mod download -json golang.org/x/text@a1b916ed6726 -stdout '"Version": "v0.0.0-20171215141712-a1b916ed6726",' +go mod download -json vcs-test.golang.org/git/commit-after-tag.git@b325d8217783 +stdout '"Version": "v0.0.0-20190715211727-b325d8217783",' # If we can re-resolve the commit to a pseudo-version, fetching the commit by # hash should use the highest such pseudo-version appropriate to the commit. env GOPROXY=direct -go mod download -json golang.org/x/text@a1b916ed6726 -stdout '"Version": "v0.3.1-0.20171215141712-a1b916ed6726",' +go mod download -json vcs-test.golang.org/git/commit-after-tag.git@b325d8217783 +stdout '"Version": "v1.0.1-0.20190715211727-b325d8217783",' # If GOPROXY is 'off', lookups should use the highest pseudo-version in the cache. env GOPROXY=off -go mod download -json golang.org/x/text@a1b916ed6726 -stdout '"Version": "v0.3.1-0.20171215141712-a1b916ed6726",' +go mod download -json vcs-test.golang.org/git/commit-after-tag.git@b325d8217783 +stdout '"Version": "v1.0.1-0.20190715211727-b325d8217783",'