Skip to content

Commit 5267bf0

Browse files
committed
cmd/go: disable TestIssue10952 without external network
Should fix arm64 build failure. Change-Id: Ib35e4a69a1082e461a1eddf3265544a1d2ff98e5 Reviewed-on: https://go-review.googlesource.com/11710 Reviewed-by: David Crawshaw <[email protected]>
1 parent 55203c7 commit 5267bf0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cmd/go/go_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,8 @@ func TestImportCommentConflict(t *testing.T) {
984984

985985
// cmd/go: custom import path checking should not apply to github.com/xxx/yyy.
986986
func TestIssue10952(t *testing.T) {
987+
testenv.MustHaveExternalNetwork(t)
988+
987989
if _, err := exec.LookPath("git"); err != nil {
988990
t.Skip("skipping because git binary not found")
989991
}

0 commit comments

Comments
 (0)