summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorElia Pinto <gitter.spiros@gmail.com>2016-09-05 10:24:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-09-07 18:41:40 (GMT)
commit4527aa10a6030fc8b4b65f1081b7089a9c6d9457 (patch)
tree0dcd97964c4822e50e10fd1a288c2f752320d7e6 /t/test-lib.sh
parent4eee6c6ddc73a3d09e8703a168fe4bb121162d15 (diff)
downloadgit-4527aa10a6030fc8b4b65f1081b7089a9c6d9457.zip
git-4527aa10a6030fc8b4b65f1081b7089a9c6d9457.tar.gz
git-4527aa10a6030fc8b4b65f1081b7089a9c6d9457.tar.bz2
test-lib.sh: preserve GIT_TRACE_CURL from the environment
Turning on this variable can be useful when debugging http tests. It can break a few tests in t5541 if not set to an absolute path but it is not a variable that the user is likely to have enabled accidentally. Signed-off-by: Elia Pinto <gitter.spiros@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index d731d66..986eba1 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -89,6 +89,7 @@ unset VISUAL EMAIL LANGUAGE COLUMNS $("$PERL_PATH" -e '
UNZIP
PERF_
CURL_VERBOSE
+ TRACE_CURL
));
my @vars = grep(/^GIT_/ && !/^GIT_($ok)/o, @env);
print join("\n", @vars);