From 21f7d83ffd3633869e9861efbe99f035daeb2201 Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Fri, 8 Aug 2014 16:20:20 +0900 Subject: [PATCH] cmd/go: fix build in airplane mode LGTM=iant R=golang-codereviews, adg, iant CC=golang-codereviews https://golang.org/cl/122190043 --- src/cmd/go/vcs_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cmd/go/vcs_test.go b/src/cmd/go/vcs_test.go index f9bf75fef1..3097c4d1c5 100644 --- a/src/cmd/go/vcs_test.go +++ b/src/cmd/go/vcs_test.go @@ -12,6 +12,9 @@ import ( // Test that RepoRootForImportPath creates the correct RepoRoot for a given importPath. // TODO(cmang): Add tests for SVN and BZR. func TestRepoRootForImportPath(t *testing.T) { + if testing.Short() { + t.Skip("skipping test to avoid external network") + } switch runtime.GOOS { case "nacl", "android": t.Skipf("no networking available on %s", runtime.GOOS) -- 2.48.1