aboutsummaryrefslogtreecommitdiffstats
path: root/t/test-lib-functions.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-04-28 15:49:54 -0700
committerJunio C Hamano <gitster@pobox.com>2020-04-28 15:49:55 -0700
commit28ba5a7b27b8a16e44b760196fb09a016c6713d6 (patch)
tree50d749cb923379d29c1dff142bc921203e008ea3 /t/test-lib-functions.sh
parentThe third batch (diff)
parentt5703: feed raw data into test-tool unpack-sideband (diff)
downloadgit-28ba5a7b27b8a16e44b760196fb09a016c6713d6.tar.gz
git-28ba5a7b27b8a16e44b760196fb09a016c6713d6.zip
Merge branch 'dd/test-with-busybox'
Various tests have been updated to work around issues found with shell utilities that come with busybox etc. * dd/test-with-busybox: t5703: feed raw data into test-tool unpack-sideband t4124: tweak test so that non-compliant diff(1) can also be used t7063: drop non-POSIX argument "-ls" from find(1) t5616: use rev-parse instead to get HEAD's object_id t5003: skip conversion test if unzip -a is unavailable t5003: drop the subshell in test_lazy_prereq test-lib-functions: test_cmp: eval $GIT_TEST_CMP t4061: use POSIX compliant regex(7)
Diffstat (limited to 't/test-lib-functions.sh')
-rw-r--r--t/test-lib-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index d9ef356a16..3103be8a32 100644
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -905,7 +905,7 @@ test_expect_code () {
# - not all diff versions understand "-u"
test_cmp() {
- $GIT_TEST_CMP "$@"
+ eval "$GIT_TEST_CMP" '"$@"'
}
# Check that the given config key has the expected value.