summaryrefslogtreecommitdiff
path: root/t/helper/test-sha1.c
diff options
context:
space:
mode:
authorLibravatar Christian Couder <christian.couder@gmail.com>2019-03-31 15:46:57 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-01 17:49:00 +0900
commit587617016744448ace200804aed9edccb436f38e (patch)
tree203cc45f0acf29c0914eb6e145270cd7376f43fc /t/helper/test-sha1.c
parentt6050: use test_line_count instead of wc -l (diff)
downloadtgif-587617016744448ace200804aed9edccb436f38e.tar.xz
t6050: redirect expected error output to a file
Otherwise the error from `git rev-parse` is uselessly polluting the debug output. Redirecting to a file, instead of /dev/null, makes it possible to check that we got the error we expected, so let's check that too. Reviewed-by: Taylor Blau <me@ttaylorr.com> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-sha1.c')
0 files changed, 0 insertions, 0 deletions