diff --git a/src/cmd/go/go_test.go b/src/cmd/go/go_test.go index 804901cb5a8..93f6cadf66e 100644 --- a/src/cmd/go/go_test.go +++ b/src/cmd/go/go_test.go @@ -1207,6 +1207,10 @@ func TestGoGetNonPkg(t *testing.T) { } func TestInstalls(t *testing.T) { + if testing.Short() { + t.Skip("don't install into GOROOT in short mode") + } + tg := testgo(t) defer tg.cleanup() tg.parallel()