diff options
author | Jeff King <peff@peff.net> | 2014-10-10 02:11:14 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-13 11:27:40 -0700 |
commit | 8ad16524183baf196d1db82b99ef52d05ca438e9 (patch) | |
tree | 0f40c931965c2f6e7b8679a9a448d1569ce439a8 /convert.h | |
parent | t5304: use test_path_is_* instead of "test -f" (diff) | |
download | tgif-8ad16524183baf196d1db82b99ef52d05ca438e9.tar.xz |
t5304: use helper to report failure of "test foo = bar"
For small outputs, we sometimes use:
test "$(some_cmd)" = "something we expect"
instead of a full test_cmp. The downside of this is that
when it fails, there is no output at all from the script.
Let's introduce a small helper to make tests easier to
debug.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'convert.h')
0 files changed, 0 insertions, 0 deletions