diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-10-12 23:02:22 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-10-12 14:12:40 -0700 |
| commit | 910e2b372f215263a79ae1d849274d2a212c16e2 (patch) | |
| tree | f3536c6c60b5b9e560aea9fa58c4fc1fafaf7dd5 /run-command.c | |
| parent | run-command API: have "run_processes_parallel{,_tr2}()" return void (diff) | |
| download | git-910e2b372f215263a79ae1d849274d2a212c16e2.tar.gz git-910e2b372f215263a79ae1d849274d2a212c16e2.zip | |
run-command tests: use "return", not "exit"
Change the "run-command" test helper to "return" instead of calling
"exit", see 338abb0f045 (builtins + test helpers: use return instead
of exit() in cmd_*, 2021-06-08)
Because we'd previously gotten past the SANITIZE=leak check by using
exit() here we need to move to "goto cleanup" pattern.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions
