summaryrefslogtreecommitdiff
path: root/t/t4018/cpp-function-returning-reference
diff options
context:
space:
mode:
authorLibravatar Đoàn Trần Công Danh <congdanhqx@gmail.com>2021-07-04 12:46:12 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-06 12:24:12 -0700
commitba8c2680ec996160ae16750b48e4cc10c537bdd3 (patch)
tree739e41dbba63a68f9168a4bfd01b50863f9ea6b5 /t/t4018/cpp-function-returning-reference
parentt6400: preserve git ls-files exit status code (diff)
downloadtgif-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-function-returning-reference')
0 files changed, 0 insertions, 0 deletions