##// END OF EJS Templates
tests: eliminate shutdown race and sleeps in test-serve
Matt Mackall -
r16297:1791d766 stable
parent child Browse files
Show More
@@ -9,13 +9,12 b''
9 9 > cat hg.pid >> "$DAEMON_PIDS"
10 10 > echo % errors
11 11 > cat errors.log
12 > sleep 1
13 12 > if [ "$KILLQUIETLY" = "Y" ]; then
14 13 > kill `cat hg.pid` 2>/dev/null
15 14 > else
16 15 > kill `cat hg.pid`
17 16 > fi
18 > sleep 1
17 > while kill -0 `cat hg.pid` 2>/dev/null; do true; done
19 18 > }
20 19
21 20 $ hg init test
General Comments 0
You need to be logged in to leave comments. Login now