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:

committed by
Junio C Hamano

parent
4d175ef71d
commit
2b14d07237
@ -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' '
|
||||
|
Reference in New Issue
Block a user