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)