]> Cypherpunks repositories - gostls13.git/commit
all: use exec.Command.String in test logs
authorqmuntal <quimmuntal@gmail.com>
Thu, 20 Mar 2025 09:02:31 +0000 (10:02 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Thu, 20 Mar 2025 16:10:13 +0000 (09:10 -0700)
commite9558d39476199f05bb08e7e32a2df054c3aab1b
tree9f6d5fe1ffaa6ed4b34e874f998bbd9f522c13f9
parenta4a5ef08bd15201772021620cc3a8331b30643f5
all: use exec.Command.String in test logs

There is no need to manually construct a human-friendly string for
a exec.Command. The String method does that for us.

Change-Id: Iff1033478000bade9cbdc079f6143a7690374258
Reviewed-on: https://go-review.googlesource.com/c/go/+/659475
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
12 files changed:
src/cmd/cgo/internal/testerrors/errors_test.go
src/cmd/cgo/internal/testgodefs/testgodefs_test.go
src/cmd/cgo/internal/testplugin/plugin_test.go
src/cmd/cgo/internal/testsanitizers/asan_test.go
src/cmd/cgo/internal/testsanitizers/cc_test.go
src/cmd/cgo/internal/testsanitizers/msan_test.go
src/cmd/cgo/internal/testshared/shared_test.go
src/cmd/cgo/internal/testso/so_test.go
src/cmd/dist/test.go
src/cmd/internal/moddeps/moddeps_test.go
src/os/exec/read3.go
src/runtime/testdata/testprog/numcpu_freebsd.go