interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / chainlint / chain-break-status.test

13 lines · 386 bytes Raw Blame History
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'