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

Re: [PATCH] fixup! log: add exhaustive tests for pattern style options & config

From
Jonathan Nieder <jrnieder@gmail.com>
Date
May 12, 2017, 23:44 UTC
Message-ID
<20170512234414.GF27400@aiede.svl.corp.google.com>
In-Reply-To
<92c10618c688bb8cb1f31ee2a93110c581974468.1494586245.git.johannes.schindelin@gmx.de>
Johannes Schindelin wrote:
Show 7 quoted lines
> On Windows, `(1|2)` is not a valid file name, and therefore the tag
> cannot be created as expected by the new test.
>
> So simply skip this test on Windows.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>

I wouldn't be surprised if there are filesystems used places other than MINGW that also can't handle this test. Isn't this what some tests use a FUNNYNAMES prerequisite for?

In this example, it's the pipe that's not allowed, not the parenthesis, right? (At least I have some memories of naming files with some parentheses.) Would something like

	test PIPE_IN_FILENAME '
		>"a|b" &&
		test -f "a|b"
	'
work?

Thanks, Jonathan

Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 3 of 11 in “fixup! log: add exhaustive tests for pattern style options & config”
  1. fixup! log: add exhaustive tests for pattern style options & configJohannes Schindelin, May 12, 2017
  2. Junio C HamanoMay 12, 2017
  3. Jonathan NiederMay 12, 2017
  4. Ævar Arnfjörð BjarmasonMay 13, 2017
  5. Johannes SchindelinMay 13, 2017
  6. Jonathan NiederMay 15, 2017
  7. Ævar Arnfjörð BjarmasonMay 13, 2017
  8. Junio C HamanoMay 15, 2017
  9. Johannes SchindelinMay 15, 2017
  10. Junio C HamanoMay 16, 2017
  11. Ævar Arnfjörð BjarmasonMay 16, 2017

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.