commit | 8ad16524183baf196d1db82b99ef52d05ca438e9 | [log] [tgz] |
---|---|---|
author | Jeff King <peff@peff.net> | Fri Oct 10 02:11:14 2014 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Oct 13 11:27:40 2014 -0700 |
tree | 0f40c931965c2f6e7b8679a9a448d1569ce439a8 | |
parent | f1dd90bd193637eeef772890c37afe3529a665d0 [diff] |
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>