From: Julian Phillips Date: Mon, 23 Apr 2007 21:39:20 GMT Subject: Re: [PATCH] Fix tests when using bash_completion Message-ID: In-Reply-To: <7vvefmeqs6.fsf@assigned-by-dhcp.cox.net> On Mon, 23 Apr 2007, Junio C Hamano wrote: > "Ron Parker" writes: > >> When using bash_completion, 'cd' echos the target directory name to >> standard >> out. If 'cd' participates in a pipe whose output is compared against an >> expected value, this causes a false failure report. Pipe cd's stdout to >> /dev/null in these cases. > > This is way too ugly. > > Are you sure bash-completion is the culprit, not your CDPATH? even with bash-completion _and_ CDPATH I only get a print when changing to a directory in CDPATH not the current directory ... perhaps an alias set for cd? (I'm not the only one who thinks CDPATH is ick am I? :S) -- Julian --- BOFH Excuse #350: paradigm shift...without a clutch