From: Russ Cox Date: Thu, 3 Nov 2016 03:01:20 +0000 (-0400) Subject: cmd/go: use new HTTP-only server insecure.go-get-issue-15410.appspot.com instead... X-Git-Tag: go1.8beta1~350 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9efcdd4e694789646e7de79dfbd8c7636803785a;p=gostls13.git 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 Reviewed-by: Andrew Gerrand --- diff --git a/src/cmd/go/go_test.go b/src/cmd/go/go_test.go index 89916f371a..a7712ed5a4 100644 --- a/src/cmd/go/go_test.go +++ b/src/cmd/go/go_test.go @@ -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) }