]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: disable broken test for code.google.com
authorRuss Cox <rsc@golang.org>
Wed, 27 Jan 2016 01:03:32 +0000 (20:03 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 27 Jan 2016 03:35:36 +0000 (03:35 +0000)
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>

src/cmd/go/go_test.go
src/cmd/go/vcs_test.go

index 50c7521831e0703d34c17cc6aed1afbbd2c86817..dc6fd469aff9a27fb5f53ca6a6cafa3c27d46e6d 100644 (file)
@@ -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")
index f5d5e4f4f0b521a5ccbe99b5039a0ee95965fd7b..a90c2061edb2505fea67e84d98373b5748a29c55 100644 (file)
@@ -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,