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

Re: [PATCH] t0003: properly quote $HOME

From
Thomas Rast <trast@student.ethz.ch>
Date
Oct 17, 2010, 19:34 UTC
Message-ID
<201010172134.43983.trast@student.ethz.ch>
In-Reply-To
<20101017191827.GD3202@burratino>
Jonathan Nieder wrote:
Show 11 quoted lines
> Thomas Rast wrote:
> 
> > 6df42ab (Add global and system-wide gitattributes, 2010-09-01) forgot
> > to quote one instance of $HOME in the tests.  This broke the test for
> > me with the shell complaining about an ambiguous redirect (but only
> > when run with --root for some reason).
> 
> Thanks.  What shell do you use?
> 
> IIRC it is not ambiguous according to POSIX but since e.g. OpenBSD
> complains it is worth fixing.
Oh, huh, so much for the theory that it's --root causing it:
  $ sh ./t0003-attributes.sh -q
  # passed all 8 test(s)
  1..8
  $ dash ./t0003-attributes.sh -q
  # passed all 8 test(s)
  1..8
  $ bash ./t0003-attributes.sh -q
  not ok - 1 setup
[...]
  $ bash --version
  GNU bash, version 4.1.7(1)-release (x86_64-suse-linux-gnu)
[...]
Then again, so much for your theory that it's only OpenBSD... ;-)
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Jonathan NiederNext: Thomas Rast
Message 3 of 8 in “t0003: properly quote $HOME”
  1. t0003: properly quote $HOMEThomas Rast, Oct 17, 2010
  2. Jonathan NiederOct 17, 2010
  3. Thomas RastOct 17, 2010
  4. t0003: properly quote $HOMEThomas Rast, Oct 18, 2010
  5. Jonathan NiederOct 18, 2010
  6. Matthieu MoyOct 17, 2010
  7. Johannes SixtOct 17, 2010
  8. Junio C HamanoOct 18, 2010

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.