git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix tests when using bash_completion

From
Julian Phillips <julian@quantumfyre.co.uk>
Date
Apr 23, 2007, 21:39 UTC
Message-ID
<Pine.LNX.4.64.0704232235280.7626@beast.quantumfyre.co.uk>
In-Reply-To
<7vvefmeqs6.fsf@assigned-by-dhcp.cox.net>
On Mon, 23 Apr 2007, Junio C Hamano wrote:
Show 11 quoted lines
> "Ron Parker" <ron.parker@mobot.org> 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
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 8 in “Fix tests when using bash_completion”
  1. Fix tests when using bash_completionRon Parker, Apr 23, 2007
  2. Junio C HamanoApr 23, 2007
  3. Julian PhillipsApr 23, 2007
  4. Junio C HamanoApr 23, 2007
  5. [OT] CDPATH (was: Re: [PATCH] Fix tests when using bash_completion)Julian Phillips, Apr 23, 2007
  6. Ron ParkerApr 24, 2007
  7. Junio C HamanoApr 24, 2007
  8. Unset CDPATH in the test libraryRon Parker, Apr 24, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.