diff options
author | Brandon Casey <casey@nrlssc.navy.mil> | 2008-07-22 16:17:43 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-23 11:35:01 -0700 |
commit | 2b14d07237fb6a52a55e89dde027e40aa627789d (patch) | |
tree | d62a53491f41c4033c222479003eacaff68cb969 /t/t0002-gitfile.sh | |
parent | 4d175ef71d60086b898e4d871e699794d6a93dbf (diff) | |
download | git-2b14d07237fb6a52a55e89dde027e40aa627789d.tar.gz |
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>
Diffstat (limited to 't/t0002-gitfile.sh')
-rwxr-xr-x | t/t0002-gitfile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0002-gitfile.sh b/t/t0002-gitfile.sh index c5dbc724b6..4db4ac44c9 100755 --- a/t/t0002-gitfile.sh +++ b/t/t0002-gitfile.sh @@ -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' ' |