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

Re: [PATCH] t0005: ksh93 portability workaround

From
Eric Sunshine <sunshine@sunshineco.com>
Date
May 31, 2016, 22:49 UTC
Message-ID
<CAPig+cRD8aTNJxvfkc-5Xjr6_pKRzAi3SpZ7JCZcRYMQFT_xMg@mail.gmail.com>
In-Reply-To
<xmqqinxt3kwq.fsf@gitster.mtv.corp.google.com>
On Tue, May 31, 2016 at 6:47 PM, Junio C Hamano <gitster@pobox.com> wrote:
> The test has two things ksh93 does not happy about:
s/does/is/
Show 14 quoted lines
>  * It thinks "(( command1; command2 ) | command3)" is a perfectly
>    sane way to write a pipeline.  ksh93, unlike other POSIX shells,
>    does not like the two open parentheses next to each other for
>    whatever reason it has.
>
>  * It adds 256, unlike 128 that are used by other POSIX shells, to
>    the signal number that caused the process to die when coming up
>    with the exit status.
>
> What is interesting is that we knew about the latter issue and had a
> workaround in the test-sigchain test when verifying that SIGTERM
> works OK, but we didn't have corresponding workaround for SIGPIPE.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previous: Junio C HamanoNext: Jeff King
Message 2 of 6 in “t0005: ksh93 portability workaround”
  1. t0005: ksh93 portability workaroundJunio C Hamano, May 31, 2016
  2. Eric SunshineMay 31, 2016
  3. Jeff KingMay 31, 2016
  4. Junio C HamanoMay 31, 2016
  5. t/lib-git-daemon: ksh portability workaroundJunio C Hamano, May 31, 2016
  6. Jeff KingMay 31, 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.