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
pack-objects: simplify --filter handling
[git/debian.git]
/
t
/
chainlint
/
block.test
blob
4ab69a4afc40381561b0ccd2a4d7f1abe96c80d1
1
(
2
# LINT: missing "&&" after first "echo"
3
foo &&
4
{
5
echo a
6
echo b
7
} &&
8
bar &&
9
# LINT: missing "&&" at closing "}"
10
{
11
echo c
12
}
13
baz
14
) &&
15
16
# LINT: ";" not allowed in place of "&&"
17
{
18
echo a; echo b
19
} &&
20
{ echo a; echo b; } &&
21
22
# LINT: "}" inside string not mistaken as end of block
23
{
24
echo "${var}9" &&
25
echo "done"
26
} &&
27
finis