Merge branch 'sk/test-cmp-bin'

* sk/test-cmp-bin:
  t5000, t5003: do not use test_cmp to compare binary files
This commit is contained in:
Junio C Hamano
2014-06-16 12:18:50 -07:00
5 changed files with 28 additions and 22 deletions

View File

@ -617,6 +617,12 @@ test_cmp() {
$GIT_TEST_CMP "$@"
}
# test_cmp_bin - helper to compare binary files
test_cmp_bin() {
cmp "$@"
}
# Check if the file expected to be empty is indeed empty, and barfs
# otherwise.