mirror of
https://github.com/git/git
synced 2024-10-31 01:43:41 +00:00
12 lines
341 B
Text
12 lines
341 B
Text
|
# LINT: broken &&-chain okay if next command handles "$?" explicitly
|
||
|
OUT=$( ((large_git; echo $? 1>&3) | :) 3>&1 ) &&
|
||
|
test_match_signal 13 "$OUT" &&
|
||
|
|
||
|
# LINT: broken &&-chain okay if next command handles "$?" explicitly
|
||
|
{ test-tool sigchain >actual; ret=$?; } &&
|
||
|
{
|
||
|
test_match_signal 15 "$ret" ||
|
||
|
test "$ret" = 3
|
||
|
} &&
|
||
|
test_cmp expect actual
|