t/: Replace diff [-u|-U0] with test_cmp to allow compilation with old diff

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Brandon Casey
2008-07-22 16:17:43 -05:00
committed by Junio C Hamano
parent 4d175ef71d
commit 2b14d07237
3 changed files with 12 additions and 12 deletions

View File

@ -66,7 +66,7 @@ test_expect_success 'check hash-object' '
test_expect_success 'check cat-file' '
git cat-file blob $SHA >actual &&
diff -u bar actual
test_cmp bar actual
'
test_expect_success 'check update-index' '