From 4ec2fd3e6ac4f869d39348bf48016687b731d910 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 26 Jan 2016 20:03:32 -0500 Subject: [PATCH] cmd/go: disable broken test for code.google.com For Go 1.7 we can remove all the code.google.com code (except maybe the shutdown warning). See #10193. Change-Id: I4b8182eb66494f0bf373b40ca5da6ae4738342be Reviewed-on: https://go-review.googlesource.com/18974 Reviewed-by: Brad Fitzpatrick Run-TryBot: Russ Cox TryBot-Result: Gobot Gobot --- src/cmd/go/go_test.go | 1 + src/cmd/go/vcs_test.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cmd/go/go_test.go b/src/cmd/go/go_test.go index 50c7521831..dc6fd469af 100644 --- a/src/cmd/go/go_test.go +++ b/src/cmd/go/go_test.go @@ -2255,6 +2255,7 @@ func TestGoGetInsecureCustomDomain(t *testing.T) { } func TestIssue10193(t *testing.T) { + t.Skip("depends on code.google.com") testenv.MustHaveExternalNetwork(t) if _, err := exec.LookPath("hg"); err != nil { t.Skip("skipping because hg binary not found") diff --git a/src/cmd/go/vcs_test.go b/src/cmd/go/vcs_test.go index f5d5e4f4f0..a90c2061ed 100644 --- a/src/cmd/go/vcs_test.go +++ b/src/cmd/go/vcs_test.go @@ -18,14 +18,14 @@ func TestRepoRootForImportPath(t *testing.T) { path string want *repoRoot }{ - { + /*{ "code.google.com/p/go", &repoRoot{ vcs: vcsHg, repo: "https://code.google.com/p/go", }, }, - /*{ + { "code.google.com/r/go", &repoRoot{ vcs: vcsHg, -- 2.48.1