mirror of
https://github.com/golang/go.git
synced 2026-08-02 05:25:23 +08:00
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:
parent
0858430834
commit
f38d2ed115
2
src/cmd/go/testdata/script/govcs.txt
vendored
2
src/cmd/go/testdata/script/govcs.txt
vendored
@ -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=
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user