Show More
@@ -94,6 +94,8 b' utestpats = [' | |||||
94 | "explicit exit code checks unnecessary"), |
|
94 | "explicit exit code checks unnecessary"), | |
95 | (uprefix + r'set -e', "don't use set -e"), |
|
95 | (uprefix + r'set -e', "don't use set -e"), | |
96 | (uprefixc + r'( *)\t', "don't use tabs to indent"), |
|
96 | (uprefixc + r'( *)\t', "don't use tabs to indent"), | |
|
97 | (uprefixc + r'.*do\s*true;\s*done', | |||
|
98 | "don't use true as loop body, use sleep 0"), | |||
97 | ], |
|
99 | ], | |
98 | # warnings |
|
100 | # warnings | |
99 | [] |
|
101 | [] |
@@ -11,7 +11,7 b' Do test while holding fifo open' | |||||
11 | $ ( |
|
11 | $ ( | |
12 | > echo lock |
|
12 | > echo lock | |
13 | > echo addchangegroup |
|
13 | > echo addchangegroup | |
14 |
> while [ ! -s .hg/store/journal ]; do |
|
14 | > while [ ! -s .hg/store/journal ]; do sleep 0; done | |
15 | > kill -HUP $P |
|
15 | > kill -HUP $P | |
16 | > ) > p |
|
16 | > ) > p | |
17 |
|
17 |
General Comments 0
You need to be logged in to leave comments.
Login now