From b51d44c6dd9d6f3ac3e1d275bc118aae23a5a482 Mon Sep 17 00:00:00 2001 From: Michael Matloob Date: Wed, 8 Jun 2022 19:14:11 -0400 Subject: [PATCH] cmd/go/testdata/script: fix skip on list_replace_absolute_windows The test should skip if it's not on windows *or* it's a short test, but instead is now skipping if it's not on windows *and* it's a short test, causing it to be run on non-windows longtest builders. Change-Id: Ica011bab632b713b0564fefabd5b42878d401844 Reviewed-on: https://go-review.googlesource.com/c/go/+/411122 Reviewed-by: Heschi Kreinick TryBot-Result: Gopher Robot Reviewed-by: Cherry Mui Run-TryBot: Michael Matloob Auto-Submit: Michael Matloob --- src/cmd/go/testdata/script/list_replace_absolute_windows.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cmd/go/testdata/script/list_replace_absolute_windows.txt b/src/cmd/go/testdata/script/list_replace_absolute_windows.txt index 6f5d737aded7d..b3ff2a7c2d65c 100644 --- a/src/cmd/go/testdata/script/list_replace_absolute_windows.txt +++ b/src/cmd/go/testdata/script/list_replace_absolute_windows.txt @@ -3,7 +3,8 @@ # whether the modindex logic cleans the modroot path before using # it. -[!windows] [short] skip +[!windows] skip +[short] skip go run print_go_mod.go # use this program to write a go.mod with an absolute path cp stdout go.mod