summaryrefslogtreecommitdiffstats
path: root/t/test-lib-functions.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-01-23 22:39:51 +0100
committerJunio C Hamano <gitster@pobox.com>2023-01-23 22:39:51 +0100
commitcd37c45acf8170aa80a4d7bd44ea5fc8241047f2 (patch)
tree24139cf9885892dba1533bb5c74dd6473fd272f6 /t/test-lib-functions.sh
parentMerge branch 'kn/attr-from-tree' (diff)
parentenv-helper: move this built-in to "test-tool env-helper" (diff)
downloadgit-cd37c45acf8170aa80a4d7bd44ea5fc8241047f2.tar.xz
git-cd37c45acf8170aa80a4d7bd44ea5fc8241047f2.zip
Merge branch 'ab/test-env-helper'
Remove "git env--helper" and demote it to a test-tool subcommand. * ab/test-env-helper: env-helper: move this built-in to "test-tool env-helper"
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 1b8d4344a5..7992222703 100644
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -1422,7 +1422,7 @@ test_bool_env () {
BUG "test_bool_env requires two parameters (variable name and default value)"
fi
- git env--helper --type=bool --default="$2" --exit-code "$1"
+ test-tool env-helper --type=bool --default="$2" --exit-code "$1"
ret=$?
case $ret in
0|1) # unset or valid bool value