]> git.ipfire.org Git - thirdparty/git.git/commit
run-command tests: test stdout of run_command_parallel()
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 29 Oct 2022 02:59:47 +0000 (04:59 +0200)
committerTaylor Blau <me@ttaylorr.com>
Mon, 31 Oct 2022 04:16:37 +0000 (00:16 -0400)
commitfe004a43335bb31920dd475aa659d5f037327fcd
treefa47954decde91e1171dd9824892d7bf27c5d878
parentac48da5a92a1ce5f059ab421e0942d6731114888
run-command tests: test stdout of run_command_parallel()

Extend the tests added in c553c72eed6 (run-command: add an
asynchronous parallel child processor, 2015-12-15) to test stdout in
addition to stderr.

When the "ungroup" feature was added in fd3aaf53f71 (run-command: add
an "ungroup" option to run_process_parallel(), 2022-06-07) its tests
were made to test both the stdout and stderr, but these existing tests
were left alone. Let's also exhaustively test our expected output
here.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
t/t0061-run-command.sh