diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2021-07-04 12:46:11 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-06 12:24:11 -0700 |
commit | 66c9562013de1d8fc04fb46a75fb88122df303c4 (patch) | |
tree | adde48086505266ae6e4b552cdb2415a51fea7c3 /t/t4018/php-class | |
parent | test-lib-functions: introduce test_stdout_line_count (diff) | |
download | tgif-66c9562013de1d8fc04fb46a75fb88122df303c4.tar.xz |
t6400: preserve git ls-files exit status code
In t6400, we're checking number of files in the index and the working
tree by piping the output of "git ls-files" to "wc -l", thus losing the
exit status code of git.
Let's use the newly introduced test_stdout_line_count in order to check
the exit status code of Git's command.
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/php-class')
0 files changed, 0 insertions, 0 deletions