mirror of
https://github.com/git/git.git
synced 2026-02-07 08:15:23 +00:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user