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

Re: [PATCH 1/2] test: fix build for zsh

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Apr 1, 2023, 05:33 UTC
Message-ID
<CAPig+cR_F0Xi3qTAJdSs7n3ad545JwHxLmR+xXuNGCB6P460xA@mail.gmail.com>
In-Reply-To
<20230401015632.103581-2-felipe.contreras@gmail.com>

On Fri, Mar 31, 2023 at 10:16 PM Felipe Contreras <felipe.contreras@gmail.com> wrote:

> zsh has the ability to emulate Bourne shell, which is closer to what our
> testing suite expect.
s/expect/expects/
Show 9 quoted lines
> Using the POSIX_ARGZERO option makes $0 behave as POSIX seems to define:
> show the name of the command launched, as opposed to the zsh default:
> the path of the script.
>
> This enables many tests, but not all.
>
> We can run the tests with `zsh --emulate sh` which has more more
> compatibility, but doing `emulate sh` inside the script allows us to
> just use `zsh`, although it's not as compatible.
s/more more/more/
> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Previous: Felipe ContrerasNext: Felipe Contreras
Message 3 of 4 in “test: add support for zsh and zsh completion”
  1. 0/2 test: add support for zsh and zsh completionFelipe Contreras, Apr 1, 2023
  2. 1/2 test: fix build for zshFelipe Contreras, Apr 1, 2023
  3. Eric SunshineApr 1, 2023
  4. 2/2 test: completion: add zsh testsFelipe Contreras, Apr 1, 2023

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.