diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-06-16 23:18:50 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-16 23:18:51 +0400 |
commit | c651ccc91d1f0f67752b22fab6bfaab9cc327fe8 (patch) | |
tree | a5a219436c924be00091acf403925544b22b2f5e /t/test-lib-functions.sh | |
parent | 96b29bde9194f96cb711a00876700ea8dd9c0727 (diff) | |
parent | b93e6e36637bed9d80f9ffa786ea78044fde6bac (diff) |
Merge branch 'sk/test-cmp-bin'
* sk/test-cmp-bin:
t5000, t5003: do not use test_cmp to compare binary files
Diffstat (limited to 't/test-lib-functions.sh')
-rw-r--r-- | t/test-lib-functions.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index f5815350d3..c617c826db 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -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. |