]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/goobj: use testenv.Command instead of exec.Command in tests
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 15:14:41 +0000 (10:14 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:22:12 +0000 (20:22 +0000)
commit40e1e2e93eaa7d42cc2a3c9ff813710d36cace51
tree3cfa0cba2cef28a101244fcf8385ec9542699f4b
parentd703ad54bcf6268e1f1813b261067421b7caa816
cmd/internal/goobj: 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: I464dc34b50f3360123aca9e8666df9799c15e457
Reviewed-on: https://go-review.googlesource.com/c/go/+/450701
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/cmd/internal/goobj/objfile_test.go