]> Cypherpunks repositories - gostls13.git/commit
cmd/objdump: use testenv.Command instead of exec.Command in tests
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 15:38:07 +0000 (10:38 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:23:48 +0000 (20:23 +0000)
commit10661bd95225cc9d4e85bffe0de63e797ff4f2ac
tree712f99192491d3c444736c6501e479a7e448de45
parenta3d545933fcc8bdd2edad56cc3f8c2aa6140814d
cmd/objdump: 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: I1965ea453af6aa9eeae9669065deb0b372dc6caf
Reviewed-on: https://go-review.googlesource.com/c/go/+/450705
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/cmd/objdump/objdump_test.go