Re: [OT] CDPATH

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [OT] CDPATH

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:06

"Ron Parker" [off-list ref] writes:
Junio C Hamano [off-list ref] wrote:
quoted
Are you sure bash-completion is the culprit, not your CDPATH?
Sorry, I was half-asleep yesterday.  Of course it was CDPATH and not 
bash-completion.
Thanks for confirmation.  This suggests in t/test-lib.sh we'd
better have "unset CDPATH" near the top to prevent surprises
like this.

[PATCH] Unset CDPATH in the test library

From: Ron Parker <hidden>
Date: 2016-06-15 22:43:06

Signed-off-by: Ron Parker <redacted>
---

	Junio,

	Your suggestion of unsetting CDPATH in
	t/test-lib.sh took care of the problem.

	Thanks.

 t/test-lib.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/t/test-lib.sh b/t/test-lib.sh
index c075474..8b99a76 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -11,6 +11,7 @@ TZ=UTC
 export LANG LC_ALL PAGER TZ
 EDITOR=:
 VISUAL=:
+unset CDPATH
 unset AUTHOR_DATE
 unset AUTHOR_EMAIL
 unset AUTHOR_NAME
-- 
1.5.0.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help