aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2022-06-08 19:14:11 -0400
committerGopher Robot <gobot@golang.org>2022-06-08 23:36:35 +0000
commitb51d44c6dd9d6f3ac3e1d275bc118aae23a5a482 (patch)
treedba1d12eea6e97d98e1ddefb824f86d2ab79fd72
parent80f86f706deff532cf3ee94a75dd1dc0db6795b2 (diff)
downloadgo-b51d44c6dd9d6f3ac3e1d275bc118aae23a5a482.tar.gz
go-b51d44c6dd9d6f3ac3e1d275bc118aae23a5a482.zip
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 <heschi@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Michael Matloob <matloob@golang.org> Auto-Submit: Michael Matloob <matloob@golang.org>
-rw-r--r--src/cmd/go/testdata/script/list_replace_absolute_windows.txt3
1 files changed, 2 insertions, 1 deletions
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 6f5d737ade..b3ff2a7c2d 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