Skip to content

Commit

Permalink
Merge pull request #2 from t-b/tb_more_use_of_test_cmp_bin
Browse files Browse the repository at this point in the history
t9300: use test_cmp_bin instead of test_cmp to compare binary files
  • Loading branch information
t-b committed Sep 25, 2014
2 parents cd79f58 + 098d1f5 commit 4261e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t9300-fast-import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4261e45

Please sign in to comment.