diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-06-16 12:18:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-16 12:18:51 -0700 |
commit | c651ccc91d1f0f67752b22fab6bfaab9cc327fe8 (patch) | |
tree | a5a219436c924be00091acf403925544b22b2f5e /t/test-lib-functions.sh | |
parent | Merge branch 'sh/enable-preloadindex' (diff) | |
parent | t5000, t5003: do not use test_cmp to compare binary files (diff) | |
download | tgif-c651ccc91d1f0f67752b22fab6bfaab9cc327fe8.tar.xz |
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. |