1
0
mirror of https://github.com/golang/go synced 2024-11-14 20:00:31 -07:00

[release-branch.go1.15] cmd/go: fix get_update_unknown_protocol test

This test needs to run in GOPATH mode. It broke when a go.mod file was
added to github.com/golang/example. This change sets GO111MODULE=off,
which matches master since CL 255051.

Fixes #43861

Change-Id: I9ea109a99509fac3185756a0f0d852a84c677bf5
Reviewed-on: https://go-review.googlesource.com/c/go/+/285956
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
Jay Conrod 2021-01-22 16:59:16 -05:00 committed by Dmitri Shuralyov
parent 27d5fccd21
commit 9bb97ea047

View File

@ -1,5 +1,6 @@
[!net] skip
[!exec:git] skip
env GO111MODULE=off
# Clone the repo via HTTPS manually.
exec git clone -q https://github.com/golang/example github.com/golang/example