Tests: use test_cmp instead of diff where possible
commit188c3827c10f5a04588ef7af8b63a7b5dbcc38ed
authorMiklos Vajna <vmiklos@frugalware.org>
Mon, 16 Mar 2009 20:18:42 +0000 (16 21:18 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Mar 2009 21:25:52 +0000 (17 14:25 -0700)
tree5f21da7b7c4a13c52f785fa27577616ea3fa3204
parentdcb11263bcdbf31955dd00777392249bf1624226
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>
t/t0000-basic.sh
t/t1100-commit-tree-options.sh
t/t1400-update-ref.sh
t/t3000-ls-files-others.sh
t/t3010-ls-files-killed-modified.sh
t/t5000-tar-tree.sh
t/t9001-send-email.sh