diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-19 22:38:40 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-19 22:38:40 +0400 |
commit | 19f8c8b2dae7d959e67b85db77eaaa396906f92c (patch) | |
tree | 1a718fa881fea331bd0d309306aadd7b257e0e5c /t/t9300-fast-import.sh | |
parent | 4daf5c864348e8d2002b082d8ac484c650e395d4 (diff) | |
parent | f9f3851b4d2cb17bb4ec2d2b00514b1b2d5df456 (diff) |
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
Diffstat (limited to 't/t9300-fast-import.sh')
-rwxr-xr-x | t/t9300-fast-import.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index 60ef3a74e8..8a054494bd 100755 --- a/t/t9300-fast-import.sh +++ b/t/t9300-fast-import.sh @@ -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' |