run-command tests: use strvec_pushv(), not argv assignment
commit87ee87dd6bb633cd5171e244fb69cd4b66d294aa
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 25 Nov 2021 22:52:19 +0000 (25 23:52 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Nov 2021 06:15:07 +0000 (25 22:15 -0800)
treea11dac21ca8879a4a8d7579c9b4a6f33cf92804d
parent6def0ff8785eb12ccc24ceebea04355e13ae24b6
run-command tests: use strvec_pushv(), not argv assignment

As in the preceding commit change this API user to use strvec_pushv()
instead of assigning to the "argv" member directly. This leaves us
without test coverage of how the "argv" assignment in this API works,
but we'll be removing it in a subsequent commit.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-run-command.c