diff options
author | Christian Couder <christian.couder@gmail.com> | 2019-03-31 15:46:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-01 17:49:00 +0900 |
commit | 587617016744448ace200804aed9edccb436f38e (patch) | |
tree | 203cc45f0acf29c0914eb6e145270cd7376f43fc /t/helper/test-run-command.c | |
parent | t6050: use test_line_count instead of wc -l (diff) | |
download | tgif-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-run-command.c')
0 files changed, 0 insertions, 0 deletions