]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: disable TestIssue10952 without external network
authorRuss Cox <rsc@golang.org>
Mon, 29 Jun 2015 17:58:18 +0000 (13:58 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 29 Jun 2015 18:00:07 +0000 (18:00 +0000)
Should fix arm64 build failure.

Change-Id: Ib35e4a69a1082e461a1eddf3265544a1d2ff98e5
Reviewed-on: https://go-review.googlesource.com/11710
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/go/go_test.go

index b3cb4e44f246e9956466a9b1bf62bfa159c4fe1c..f8d784545df1373079474b3cd9ebfb5433d6fdd4 100644 (file)
@@ -984,6 +984,8 @@ func TestImportCommentConflict(t *testing.T) {
 
 // cmd/go: custom import path checking should not apply to github.com/xxx/yyy.
 func TestIssue10952(t *testing.T) {
+       testenv.MustHaveExternalNetwork(t)
+
        if _, err := exec.LookPath("git"); err != nil {
                t.Skip("skipping because git binary not found")
        }