aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2016-01-26 20:03:32 -0500
committerRuss Cox <rsc@golang.org>2016-01-27 03:35:36 +0000
commit4ec2fd3e6ac4f869d39348bf48016687b731d910 (patch)
tree26b53d1d023d1f233f0d735672f53af7c322d90e
parent9202e9e1b81d1c6d07b516eae2d1da28951c7a76 (diff)
downloadgo-4ec2fd3e6ac4f869d39348bf48016687b731d910.tar.gz
go-4ec2fd3e6ac4f869d39348bf48016687b731d910.zip
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 <bradfitz@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r--src/cmd/go/go_test.go1
-rw-r--r--src/cmd/go/vcs_test.go4
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,