summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-02-28 13:37:56 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-28 13:37:56 -0800
commitba5f3fc4678fa772c4fec708cba17a6c9fcb489c (patch)
tree9cd768b0c43ac68e6ecfad2b0cb6f36329fb2294 /t/test-lib.sh
parentMerge branch 'tk/apply-dev-null-verify-name-fix' (diff)
parenttest-lib.sh: unset XDG_CACHE_HOME (diff)
downloadtgif-ba5f3fc4678fa772c4fec708cba17a6c9fcb489c.tar.xz
Merge branch 'gs/test-unset-xdg-cache-home'
Test update. * gs/test-unset-xdg-cache-home: test-lib.sh: unset XDG_CACHE_HOME
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 33f6ce26f6..9535d2e0a9 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -116,6 +116,7 @@ unset VISUAL EMAIL LANGUAGE COLUMNS $("$PERL_PATH" -e '
my @vars = grep(/^GIT_/ && !/^GIT_($ok)/o, @env);
print join("\n", @vars);
')
+unset XDG_CACHE_HOME
unset XDG_CONFIG_HOME
unset GITPERLLIB
GIT_AUTHOR_EMAIL=author@example.com