Tests: use test_cmp instead of diff where possible

Several old tests were written before test_cmp was introduced, convert
these to test_cmp.

If were are at it, fix the order of the arguments where necessary to
make expected come first, so the command shows how the test result
deviates from the correct output.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Miklos Vajna
2009-03-16 21:18:42 +01:00
committed by Junio C Hamano
parent dcb11263bc
commit 188c3827c1
7 changed files with 24 additions and 24 deletions

View File

@ -40,6 +40,6 @@ test_expect_success \
test_expect_success \
'compare commit' \
'diff expected commit'
'test_cmp expected commit'
test_done