test-lib.sh: unset XDG_CONFIG_HOME
authorJeff King <peff@peff.net>
Tue, 24 Jul 2012 11:53:05 +0000 (07:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2012 15:59:07 +0000 (08:59 -0700)
commit5adf84ebb375eeee998edef9a2b5aaa05df677d0
tree1bc1e891205cdc4b330b801bfe7a5c1c6826aa30
parente3ebc35b1695e9ac6e9b5978cd4e9ffb7b15f657
test-lib.sh: unset XDG_CONFIG_HOME

Now that git respects XDG_CONFIG_HOME for some lookups, we
must be sure to cleanse the test environment. Otherwise, the
user's XDG_CONFIG_HOME could influence the test results.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh