[go] crypto: clean up subprocess-spawning tests

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Dec 10, 2025, 4:46:09 PM (2 days ago) Dec 10
to Filippo Valsorda, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Dmitri Shuralyov, Roland Shoemaker, Go LUCI, Daniel McCarney, Kevin Burke, golang-co...@googlegroups.com

Gopher Robot submitted the change

Unreviewed changes

3 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Change information

Commit message:
crypto: clean up subprocess-spawning tests

Consistently use testenv.Command and testenv.Executable, avoid redundant
testenv.Must, use testenv.CleanCmdEnv where the output is parsed, always
log the output with a preceding newline, invoke tests with -v, and
always use cmd.Environ() to preserve existing env.
Change-Id: I647ff1a8b7d162e5e8df9424030fac446a6a6964
Reviewed-by: Roland Shoemaker <rol...@golang.org>
Reviewed-by: Daniel McCarney <dan...@binaryparadox.net>
Auto-Submit: Filippo Valsorda <fil...@golang.org>
Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
Files:
  • M src/crypto/cipher/gcm_fips140v2.0_test.go
  • M src/crypto/cipher/gcm_test.go
  • M src/crypto/ecdh/ecdh_test.go
  • M src/crypto/fips140/enforcement_test.go
  • D src/crypto/fips140/testdata/enforcement_test.go
  • M src/crypto/internal/cryptotest/fetchmodule.go
  • M src/crypto/internal/fips140deps/fipsdeps_test.go
  • M src/crypto/internal/fips140test/acvp_test.go
  • M src/crypto/internal/fips140test/cast_test.go
  • M src/crypto/internal/fips140test/check_test.go
  • M src/crypto/internal/sysrand/rand_linux_test.go
  • M src/crypto/internal/sysrand/rand_test.go
  • M src/crypto/purego_test.go
  • M src/crypto/rand/rand_test.go
  • M src/crypto/tls/bogo_shim_test.go
  • M src/crypto/tls/link_test.go
  • M src/crypto/x509/bettertls_test.go
  • M src/crypto/x509/name_constraints_test.go
  • M src/crypto/x509/root_linux_test.go
  • M src/crypto/x509/x509_test.go
Change size: L
Delta: 20 files changed, 122 insertions(+), 185 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Daniel McCarney, +1 by Dmitri Shuralyov, +1 by Roland Shoemaker
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I647ff1a8b7d162e5e8df9424030fac446a6a6964
Gerrit-Change-Number: 728641
Gerrit-PatchSet: 5
Gerrit-Owner: Filippo Valsorda <fil...@golang.org>
Gerrit-Reviewer: Daniel McCarney <dan...@binaryparadox.net>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Filippo Valsorda <fil...@golang.org>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Roland Shoemaker <rol...@golang.org>
Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-CC: Kevin Burke <ke...@burke.dev>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages