]> Cypherpunks repositories - gostls13.git/commit
all: surround -test.run arguments with ^$
authorqmuntal <quimmuntal@gmail.com>
Mon, 24 Feb 2025 08:57:04 +0000 (09:57 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Tue, 25 Feb 2025 18:58:29 +0000 (10:58 -0800)
commitf707e53fd52284e58b9ea5d7889ad360d34d5116
treec70e6c543a601d92e8f47cfde52e47be116b3cfe
parentcc16fb52e6f1eafaee468f8563525ec391e016f5
all: surround -test.run arguments with ^$

If the -test.run value is not surrounded by ^$ then any test that
matches the -test.run value will be run. This is normally not the
desired behavior, as it can lead to unexpected tests being run.

Change-Id: I3447aaebad5156bbef7f263cdb9f6b8c32331324
Reviewed-on: https://go-review.googlesource.com/c/go/+/651956
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt
src/crypto/internal/fips140test/cast_test.go
src/crypto/internal/fips140test/check_test.go
src/crypto/internal/sysrand/rand_test.go
src/crypto/rand/rand_test.go
src/math/rand/default_test.go
src/net/net_windows_test.go
src/runtime/crash_test.go
src/runtime/debug/example_monitor_test.go
src/runtime/syscall_windows_test.go
src/syscall/exec_freebsd_test.go