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

Re: [PATCH] t0008: 4 tests fail with ksh88

From
Christian Couder <christian.couder@gmail.com>
Date
May 20, 2016, 21:01 UTC
Message-ID
<CAP8UFD3-B9SiBN479RQwjmtJsTns5Q2XUepdf9_NS0NVoQPGGw@mail.gmail.com>
In-Reply-To
<xmqqk2iog16g.fsf@gitster.mtv.corp.google.com>
On Fri, May 20, 2016 at 6:10 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
> From: Armin Kunaschik <megabreit@googlemail.com>
> Date: Fri, 20 May 2016 16:31:30 +0200
> Subject: [PATCH] t0008: 4 tests fail with ksh88
>
> In t0008, we have
>
>         cat <<-EOF
>         ...
>         a/b/.gitignore:8:!on*   "a/b/one\"three"
>         ...
>         EOF
>
> ane expect that the backslash-dq is passed through literally.
s/ane/and/
Show 5 quoted lines
> ksh88 eats \ and generates a wrong expect data to compare with.
>
> Using \\" works this around without breaking other POSIX shells
> (which collapse backslash-backslash to a single backslash), and
> ksh88 does so, too.
Previous: Armin KunaschikNext: Armin Kunaschik
Message 5 of 7 in “t0008: 4 tests fail with ksh88”
  1. t0008: 4 tests fail with ksh88Armin Kunaschik, May 20, 2016
  2. Junio C HamanoMay 20, 2016
  3. Junio C HamanoMay 20, 2016
  4. Armin KunaschikMay 20, 2016
  5. Christian CouderMay 20, 2016
  6. Armin KunaschikMay 20, 2016
  7. Jeff KingMay 22, 2016

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.