summaryrefslogtreecommitdiff
path: root/contrib/hooks/multimail/doc
diff options
context:
space:
mode:
authorLibravatar Đoàn Trần Công Danh <congdanhqx@gmail.com>2021-07-04 12:46:10 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-06 12:22:27 -0700
commitcdff1bb5a3d6f0e6bf26d8ff088a0e10b40bc4f3 (patch)
tree18ca6fab2e667f160d245f776e0bc108287672c2 /contrib/hooks/multimail/doc
parentThe second batch (diff)
downloadtgif-cdff1bb5a3d6f0e6bf26d8ff088a0e10b40bc4f3.tar.xz
test-lib-functions: introduce test_stdout_line_count
In some tests, we're checking the number of lines in output of some commands, including but not limited to Git's command. We're doing the check by running those commands in the left side of a pipe, thus losing the exit status code of those commands. Meanwhile, we really want to check the exit status code of Git's command. Let's write the output of those commands to a temporary file, and use test_line_count separately in order to check exit status code of those commands properly. 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 'contrib/hooks/multimail/doc')
0 files changed, 0 insertions, 0 deletions