Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-serve @ 4506:9f952dd4413b
test-serve: let run-tests.py kill the daemons
If the daemons die while the tests are still running, we'll get additional
"killed!" messages, making the test fail.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 05 Jun 2007 19:26:36 -0300 |
parents | c68e6486f295 |
children | 9858477ed74c |
comparison
equal
deleted
inserted
replaced
4505:0ca5ef554987 | 4506:9f952dd4413b |
---|---|
3 hg init test | 3 hg init test |
4 cd test | 4 cd test |
5 | 5 |
6 echo % Without -v | 6 echo % Without -v |
7 hg serve -a localhost -p 20063 -d --pid-file=hg.pid | 7 hg serve -a localhost -p 20063 -d --pid-file=hg.pid |
8 kill `cat hg.pid` | 8 cat hg.pid >> "$DAEMON_PIDS" |
9 | 9 |
10 echo % With -v | 10 echo % With -v |
11 hg serve -a localhost -p 20063 -d --pid-file=hg.pid -v | 11 hg serve -a localhost -p 20064 -d --pid-file=hg.pid -v |
12 kill `cat hg.pid` | 12 cat hg.pid >> "$DAEMON_PIDS" |