Re: [PATCH] Fix tests when using bash_completion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 23 Apr 2007, Junio C Hamano wrote:

"Ron Parker" <ron.parker@xxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]