diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2021-07-04 12:46:12 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-06 12:24:12 -0700 |
commit | ba8c2680ec996160ae16750b48e4cc10c537bdd3 (patch) | |
tree | 739e41dbba63a68f9168a4bfd01b50863f9ea6b5 /t/t4018/cpp-namespace-definition | |
parent | t6400: preserve git ls-files exit status code (diff) | |
download | tgif-ba8c2680ec996160ae16750b48e4cc10c537bdd3.tar.xz |
t6402: preserve git exit status code
In t6402, we're checking number of files in the index and the working
tree by piping the output of Git's command to "wc -l", thus losing the
exit status code of git.
Let's use the new helper test_stdout_line_count in order to preserve
Git's exit status code.
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/cpp-namespace-definition')
0 files changed, 0 insertions, 0 deletions