summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 520d7e2)
raw | patch | inline | side by side (parent: 520d7e2)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 24 Apr 2007 18:21:47 +0000 (11:21 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 24 Apr 2007 18:21:47 +0000 (11:21 -0700) |
that exports CDPATH to the environment
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/test-lib.sh | patch | blob | history |
diff --git a/t/test-lib.sh b/t/test-lib.sh
index c0754747fbc250274f069901703159ffd23faf86..f2c6bd3b01d39b8cc71bc624e0eaddc0681ae25e 100644 (file)
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
export EDITOR VISUAL
+# Protect ourselves from common misconfiguration to export
+# CDPATH into the environment
+unset CDPATH
+
case $(echo $GIT_TRACE |tr "[A-Z]" "[a-z]") in
1|2|true)
echo "* warning: Some tests will not work if GIT_TRACE" \