Git fork
1test_expect_success 'chain-break-status' '
2# LINT: broken &&-chain okay if next command handles "$?" explicitly
3OUT=$( ((large_git; echo $? 1>&3) | :) 3>&1 ) &&
4test_match_signal 13 "$OUT" &&
5
6# LINT: broken &&-chain okay if next command handles "$?" explicitly
7{ test-tool sigchain >actual; ret=$?; } &&
8{
9 test_match_signal 15 "$ret" ||
10 test "$ret" = 3
11} &&
12test_cmp expect actual
13'