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

Re: [PATCH v2] t3900: add some more quotes

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 10, 2018, 23:09 UTC
Message-ID
<nycvar.QRO.7.76.6.1801110008030.31@ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz>
In-Reply-To
<20180110223840.1481-1-dev+git@drbeat.li>
Hi Beat,
On Wed, 10 Jan 2018, Beat Bolli wrote:
Show 10 quoted lines
> diff --git a/t/t3900-i18n-commit.sh b/t/t3900-i18n-commit.sh
> index 9e4e694d9..dc00db87b 100755
> --- a/t/t3900-i18n-commit.sh
> +++ b/t/t3900-i18n-commit.sh
> @@ -40,7 +40,7 @@ test_expect_success 'UTF-16 refused because of NULs' '
>  '
>  
>  test_expect_success 'UTF-8 invalid characters refused' '
> -	test_when_finished "rm -f \"$HOME/stderr $HOME/invalid\"" &&
> +	test_when_finished "rm -f \"$HOME/stderr\" \"$HOME/invalid\"" &&

It is probably worth quoting the dollar characters, too, as pointed out by Hannes Sixt: we want to interpolate the value only when needed, just in case that the HOME variable contains double quotes.

Ciao, Dscho

Previous: Beat BolliNext: Junio C Hamano
Message 6 of 14 in “t3900: add some more quotes”
  1. t3900: add some more quotesBeat Bolli, Jan 10, 2018
  2. Jeff KingJan 10, 2018
  3. Johannes SchindelinJan 10, 2018
  4. Eric SunshineJan 10, 2018
  5. t3900: add some more quotesBeat Bolli, Jan 10, 2018
  6. Johannes SchindelinJan 10, 2018
  7. Junio C HamanoJan 10, 2018
  8. Johannes SixtJan 10, 2018
  9. Junio C HamanoJan 10, 2018
  10. Jeff KingJan 10, 2018
  11. Junio C HamanoJan 10, 2018
  12. Jeff KingJan 11, 2018
  13. read test snippet from stdin [was: [PATCH] t3900: add some more quotes]SZEDER Gábor, Jan 11, 2018
  14. Jeff KingJan 11, 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.