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>
This commit is contained in:
Michael Matloob 2022-06-08 19:14:11 -04:00 committed by Gopher Robot
parent 80f86f706d
commit b51d44c6dd

View file

@ -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