Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-06-16 23:18:50 +0400
committerJunio C Hamano <gitster@pobox.com>2014-06-16 23:18:51 +0400
commitc651ccc91d1f0f67752b22fab6bfaab9cc327fe8 (patch)
treea5a219436c924be00091acf403925544b22b2f5e /t/test-lib-functions.sh
parent96b29bde9194f96cb711a00876700ea8dd9c0727 (diff)
parentb93e6e36637bed9d80f9ffa786ea78044fde6bac (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.sh6
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.