Welcome to mirror list, hosted at ThFree Co, Russian Federation.

chain-break-status.test « chainlint « t - git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a6602a7b99cfc7f2d19148b07ebe15d32c22e824 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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