aboutsummaryrefslogtreecommitdiff
path: root/t/t0002-gitfile.sh
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2008-07-22 16:17:43 -0500
committerJunio C Hamano <gitster@pobox.com>2008-07-23 11:35:01 -0700
commit2b14d07237fb6a52a55e89dde027e40aa627789d (patch)
treed62a53491f41c4033c222479003eacaff68cb969 /t/t0002-gitfile.sh
parent4d175ef71d60086b898e4d871e699794d6a93dbf (diff)
downloadgit-2b14d07237fb6a52a55e89dde027e40aa627789d.tar.gz
git-2b14d07237fb6a52a55e89dde027e40aa627789d.tar.xz
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-xt/t0002-gitfile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0002-gitfile.sh b/t/t0002-gitfile.sh
index c5dbc724b..4db4ac44c 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' '