]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: use testenv.Command instead of exec.Command in tests
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 15:53:41 +0000 (10:53 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:25:11 +0000 (20:25 +0000)
commit0df08b955371b7953350a834fd27c594fc45fe73
tree1152174d1c2c8d72167c70973357a7748ead7c40
parent509ac2ca6dbda4fff7a0e4e25589bb8827c897c2
cmd/vet: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where supported) in case of a hang.

Change-Id: I973be280cd0a7f495b491bfb0e04771389562e04
Reviewed-on: https://go-review.googlesource.com/c/go/+/450711
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/cmd/vet/vet_test.go