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

t0005 failing with ksh93 on linux

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 9, 2010, 03:08 UTC
Message-ID
<20100709030812.GA16877@dert.cs.uchicago.edu>
Hi,
I can’t seem to get test-sigchain to run with ksh93 on linux:
 $ ksh
 
 ksh>$ ../bin-wrappers/test-sigchain 
 three
 two
 one
 Terminated
 ksh>$ echo $?
 271
 ksh>$ exit
 $ ../bin-wrappers/test-sigchain 
 three
 two
 one
 Terminated
 $ echo $?
 143

As a result, t0005-signals.sh fails when run through that shell. Ideas?

$ ksh t0005-signals.sh  -v
Initialized empty Git repository in /dev/shm/alt-git/t/trash directory.t0005-signals/.git/
expecting success: 
[...]
        test_cmp expect actual
not ok - 1 sigchain works
[...]
$ git describe
v1.7.2-rc2
$ ksh --version
  version         sh (AT&T Research) 93s+ 2008-01-31
$ uname -s -r -m
Linux 2.6.26-2-686-bigmem i686
Next: Johannes Sixt
Message 1 of 9 in “t0005 failing with ksh93 on linux”
  1. Jonathan NiederJul 9, 2010
  2. t0005: work around strange $? in ksh when program terminated by a signalJohannes Sixt, Jul 9, 2010
  3. Jeff KingJul 9, 2010
  4. Jonathan NiederJul 9, 2010
  5. Brandon CaseyJul 9, 2010
  6. Ævar Arnfjörð BjarmasonJul 9, 2010
  7. Brandon CaseyJul 9, 2010
  8. t0005: work around strange $? in ksh93 when program terminated by a signalJohannes Sixt, Jul 12, 2010
  9. Junio C HamanoJul 12, 2010

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.