]> Cypherpunks repositories - gostls13.git/commit
cmd/go: clear GOPROXY in TestGoGetInsecure
authorBryan C. Mills <bcmills@google.com>
Tue, 5 Mar 2019 22:01:19 +0000 (17:01 -0500)
committerBryan C. Mills <bcmills@google.com>
Wed, 6 Mar 2019 19:57:31 +0000 (19:57 +0000)
commit7778b5ab5a2215668ad1ad4d174d58b3363c9de8
tree938898ad01762149330a54b58af27d2cac3fbc78
parent52e2126a5ee7c1123ded51874ec0fe0394eabd0a
cmd/go: clear GOPROXY in TestGoGetInsecure

TestGoGetInsecure verifies that 'go get -insecure' can fetch a
particular package. However, the GOPROXY protocol does not provide a
means for proxies to indicate packages as insecure; thus, proxies
cannot safely serve those packages.

Updates #30571

Change-Id: I447776dff98bd8ee6eb5055b897b9c7d293e3423
Reviewed-on: https://go-review.googlesource.com/c/go/+/165745
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go