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

Re: [PATCH 1/2] tests: fix non-portable "${var:-"str"}" construct

From
Ann T Ropea <bedhanger@gmx.de>
Date
Aug 29, 2018, 20:09 UTC
Message-ID
<20180829200908.13461-1-bedhanger@gmx.de>
In-Reply-To
<20180828193827.8648-2-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
> Fix this by removing the redundant quotes. There's no need for them,
> and the resulting code works under all the aforementioned shells. This
> fixes a regression in c2f1d3989 ("t4013: test new output from diff
> --abbrev --raw", 2017-12-03) first released with Git v2.16.0.
Acked-by: Ann T Ropea <bedhanger@gmx.de>
Thanks.
Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 4 of 6 in “FreeBSD & AIX test portability fixes”
  1. 0/2 FreeBSD & AIX test portability fixesÆvar Arnfjörð Bjarmason, Aug 28, 2018
  2. 1/2 tests: fix non-portable "${var:-"str"}" constructÆvar Arnfjörð Bjarmason, Aug 28, 2018
  3. Junio C HamanoAug 28, 2018
  4. Ann T RopeaAug 29, 2018
  5. 2/2 tests: fix non-portable iconv invocationÆvar Arnfjörð Bjarmason, Aug 28, 2018
  6. Jonathan NiederAug 28, 2018

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.