t3000: use test_cmp instead of diff
commit8a3b25da8cdd7f3aa75f18d3245ce83aca90bb1a
authorJeff King <peff@peff.net>
Sun, 8 Mar 2009 01:22:07 +0000 (7 20:22 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Mar 2009 03:54:05 +0000 (7 19:54 -0800)
tree07da4f9d0d6c4e7b05c0e7f6577d370147fa73f4
parentce8e8804068772a24354ee24641ca65ffa417837
t3000: use test_cmp instead of diff

These ancient tests predate test_cmp.

While we're at it, let's switch to our usual "expected
before actual" order of arguments; this makes the diff
output "here's what is changed from expected" instead of the
reverse.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3000-ls-files-others.sh