Merge branch 'js/no-test-cmp-for-binaries'

* js/no-test-cmp-for-binaries:
  t9300: use test_cmp_bin instead of test_cmp to compare binary files
This commit is contained in:
Junio C Hamano 2014-09-19 11:38:40 -07:00
commit 19f8c8b2da

View File

@ -2687,7 +2687,7 @@ test_expect_success 'R: verify created pack' '
test_expect_success \ test_expect_success \
'R: verify written objects' \ 'R: verify written objects' \
'git --git-dir=R/.git cat-file blob big-file:big1 >actual && 'git --git-dir=R/.git cat-file blob big-file:big1 >actual &&
test_cmp expect actual && test_cmp_bin expect actual &&
a=$(git --git-dir=R/.git rev-parse big-file:big1) && a=$(git --git-dir=R/.git rev-parse big-file:big1) &&
b=$(git --git-dir=R/.git rev-parse big-file:big2) && b=$(git --git-dir=R/.git rev-parse big-file:big2) &&
test $a = $b' test $a = $b'