##// END OF EJS Templates
tests: avoid test-hup hanging on AIX...
Jim Hague -
r16364:f64b25f1 stable
parent child Browse files
Show More
@@ -94,6 +94,8 b' utestpats = ['
94 94 "explicit exit code checks unnecessary"),
95 95 (uprefix + r'set -e', "don't use set -e"),
96 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 100 # warnings
99 101 []
@@ -11,7 +11,7 b' Do test while holding fifo open'
11 11 $ (
12 12 > echo lock
13 13 > echo addchangegroup
14 > while [ ! -s .hg/store/journal ]; do true; done
14 > while [ ! -s .hg/store/journal ]; do sleep 0; done
15 15 > kill -HUP $P
16 16 > ) > p
17 17
@@ -14,7 +14,7 b''
14 14 > else
15 15 > kill `cat hg.pid`
16 16 > fi
17 > while kill -0 `cat hg.pid` 2>/dev/null; do true; done
17 > while kill -0 `cat hg.pid` 2>/dev/null; do sleep 0; done
18 18 > }
19 19
20 20 $ hg init test
General Comments 0
You need to be logged in to leave comments. Login now