]> Cypherpunks repositories - gostls13.git/commit
cmd/pack: use testenv.Command instead of exec.Command in tests
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 15:45:00 +0000 (10:45 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:24:38 +0000 (20:24 +0000)
commit3e1519d05a640701e1a2f1d9ba737fc912a1b624
treee5412c8746e982739d8624033c63d63939232c61
parentaf7437cc8a62ca21b907628aed3ee484d4220317
cmd/pack: 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: Ia1dd1bacfa2c9378401bbce304ebf7ee3f159352
Reviewed-on: https://go-review.googlesource.com/c/go/+/450707
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/pack/pack_test.go