repo.or.cz
/
git
/
debian.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
debian: new upstream point release
[git/debian.git]
/
t
/
chainlint
/
complex-if-in-cuddled-loop.test
blob
5efeda58b2a7196d74999a514268ef0099f661d6
1
# LINT: "for" loop cuddled with "(" and ")" and nested "if" with complex
2
# LINT: multi-line condition; indented with spaces, not tabs
3
(for i in a b c; do
4
if test "$(echo $(waffle bat))" = "eleventeen" &&
5
test "$x" = "$y"; then
6
:
7
else
8
echo >file
9
fi
10
done) &&
11
test ! -f file