##// END OF EJS Templates
check-code: check that '>' is used for continued lines...
Mads Kiilerich -
r19873:b3de50b0 default
parent child Browse files
Show More
@@ -120,7 +120,7 utestpats = [
120 120 (uprefix + r'.*\|\| echo.*(fail|error)',
121 121 "explicit exit code checks unnecessary"),
122 122 (uprefix + r'set -e', "don't use set -e"),
123 (uprefix + r'\s', "don't indent commands, use > for continued lines"),
123 (uprefix + r'(\s|fi\b|done\b)', "use > for continued lines"),
124 124 (r'^ saved backup bundle to \$TESTTMP.*\.hg$', winglobmsg),
125 125 (r'^ changeset .* references (corrupted|missing) \$TESTTMP/.*[^)]$',
126 126 winglobmsg),
@@ -3,11 +3,11
3 3 $ mkdir -p beans
4 4 $ for b in kidney navy turtle borlotti black pinto; do
5 5 > echo $b > beans/$b
6 $ done
6 > done
7 7 $ mkdir -p mammals/Procyonidae
8 8 $ for m in cacomistle coatimundi raccoon; do
9 9 > echo $m > mammals/Procyonidae/$m
10 $ done
10 > done
11 11 $ echo skunk > mammals/skunk
12 12 $ echo fennel > fennel
13 13 $ echo fenugreek > fenugreek
General Comments 0
You need to be logged in to leave comments. Login now