Merge pull request #2 from t-b/tb_more_use_of_test_cmp_bin

t9300: use test_cmp_bin instead of test_cmp to compare binary files
This commit is contained in:
Thomas Braun
2014-10-13 17:33:36 +02:00

View File

@@ -2687,7 +2687,7 @@ test_expect_success 'R: verify created pack' '
test_expect_success \
'R: verify written objects' \
'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) &&
b=$(git --git-dir=R/.git rev-parse big-file:big2) &&
test $a = $b'