summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-03-22 14:24:24 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-22 14:24:24 -0700
commit8bfeb0e42c3358374dc8ab14369e4280d8b12f5c (patch)
tree41b8496173f3d44ab055c1c4246ecf5e3f7c127a
parentMerge branch 'sb/status-doc-fix' into maint (diff)
parenttest-lib.sh: unset XDG_CACHE_HOME (diff)
downloadtgif-8bfeb0e42c3358374dc8ab14369e4280d8b12f5c.tar.xz
Merge branch 'gs/test-unset-xdg-cache-home' into maint
Test update. * gs/test-unset-xdg-cache-home: test-lib.sh: unset XDG_CACHE_HOME
-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 852b22c80a..816e692391 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