t7501: always use test_cmp instead of diff
authorMiklos Vajna <vmiklos@frugalware.org>
Wed, 10 Sep 2008 17:32:44 +0000 (19:32 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Sep 2008 18:16:10 +0000 (11:16 -0700)
commit1e368681bd8c35202b91f8998e07d8bbb3de6c7c
treeb126da99f89b83577e4733602213742e541a6790
parenta14f6ca26a1f17a6aa1c4dd8994ca1e1bcbe1729
t7501: always use test_cmp instead of diff

This should make the output more readable (by default using diff -u)
when some tests fail.

Also changed the diff order from "current expected" to "expected
current".

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7501-commit.sh