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

cmd/go: use new HTTP-only server insecure.go-get-issue-15410.appspot.com instead of wh3rd.net

Fixes #15410.

Change-Id: I9964d0162a3cae690afeb889b1822cf79c80b89a
Reviewed-on: https://go-review.googlesource.com/32639
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Russ Cox 2016-11-02 23:01:20 -04:00
parent f4f6b64750
commit 9efcdd4e69

View File

@ -2717,15 +2717,13 @@ func TestImportLocal(t *testing.T) {
func TestGoGetInsecure(t *testing.T) {
testenv.MustHaveExternalNetwork(t)
t.Skip("golang.org/issue/15410")
tg := testgo(t)
defer tg.cleanup()
tg.makeTempdir()
tg.setenv("GOPATH", tg.path("."))
tg.failSSH()
const repo = "wh3rd.net/git.git"
const repo = "insecure.go-get-issue-15410.appspot.com/pkg/p"
// Try go get -d of HTTP-only repo (should fail).
tg.runFail("get", "-d", repo)
@ -2769,7 +2767,7 @@ func TestGoGetInsecureCustomDomain(t *testing.T) {
tg.makeTempdir()
tg.setenv("GOPATH", tg.path("."))
const repo = "wh3rd.net/repo"
const repo = "insecure.go-get-issue-15410.appspot.com/pkg/p"
tg.runFail("get", "-d", repo)
tg.run("get", "-d", "-insecure", repo)
}