t: assume test_cmp produces verbose output
commit5ca812a19c97a2cbfe797748bc9bf6ebde9e0f64
authorJeff King <peff@peff.net>
Fri, 20 Mar 2015 10:07:52 +0000 (20 06:07 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Mar 2015 17:20:15 +0000 (20 10:20 -0700)
treee92510e77e840c56bd14789c6f0239d89241e041
parent99094a7ad484085b9f6849a8ebe1e23467c5bc14
t: assume test_cmp produces verbose output

Some tests call test_cmp, and if it fails show the actual
output generated. This is mostly pointless, as test_cmp will
already show a diff between the expected and actual output.
It also fools --chain-lint by putting an "||" in the middle
of the chain, so we'd rather not use this construct.

Note that these cases actually show a pre-processed version
of the data, rather than exactly what test_cmp would show.
However, test_cmp's output is generally good for pointing
the user in the right direction, and they can then dig in
the trash directory themselves if they want to see more
details.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6012-rev-list-simplify.sh
t/t6111-rev-list-treesame.sh