commit | 4fdf71be1ca3a817851a14f91b75e7d30f885a48 | [log] [tgz] |
---|---|---|
author | Gary V. Vaughan <git@mlists.thewrittenword.com> | Fri May 14 09:31:37 2010 +0000 |
committer | Junio C Hamano <gitster@pobox.com> | Mon May 31 16:59:27 2010 -0700 |
tree | 5e280e04305b3b1f019ce56e4293a01b77d152a2 | |
parent | d1b1a919461c2f00d4e10f5ba227b13f800a6ac3 [diff] |
tests: use "test_cmp", not "diff", when verifying the result In tests, call test_cmp rather than raw diff where possible (i.e. if the output does not go to a pipe), to allow the use of, say, 'cmp' when the default 'diff -u' is not compatible with a vendor diff. When that is not possible, use $DIFF, as set in GIT-BUILD-OPTIONS. Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>