12 lines
341 B
Plaintext
12 lines
341 B
Plaintext
|
# 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
|