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

Re: t4015 broken on pu

From
LFLukas Fleischer <git@cryptocrack.de>
Date
Jun 3, 2013, 19:11 UTC
Message-ID
<20130603191138.GA16172@blizzard>
In-Reply-To
<51ACE819.3010704@web.de>
On Mon, Jun 03, 2013 at 09:01:45PM +0200, Torsten Bögershausen wrote:
Show 14 quoted lines
> The new 4015 does not pass under Mac OS:
> 
> a) The seq command, does not exits (we can use printf)
> [...]
> diff --git a/t/t4015-diff-whitespace.sh b/t/t4015-diff-whitespace.sh
> index b3c4fcc..f00d20b 100755
> --- a/t/t4015-diff-whitespace.sh
> +++ b/t/t4015-diff-whitespace.sh
> @@ -143,18 +143,18 @@ git diff --ignore-space-at-eol > out
>  test_expect_success 'another test, with --ignore-space-at-eol' 'test_cmp expect out'
>  
>  test_expect_success 'ignore-blank-lines: only new lines' '
> -       seq 5 >x &&
> +       printf "1\n2\n3\n4\n5\n" >x &&
I'd rather use test_seq here.
Show 5 quoted lines
>         git update-index x &&
> -       seq 5 | sed "/3/i \\\\" >x &&
> +       printf "1\n2\n3\n4\n5\n" | sed "/3/i \\\\" >x &&
>         git diff --ignore-blank-lines >out &&
> [...]
Previous: Antoine Pelisse
Message 3 of 3 in “t4015 broken on pu”
  1. Torsten BögershausenJun 3, 2013
  2. Antoine PelisseJun 3, 2013
  3. Lukas FleischerJun 3, 2013

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.