Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-hup @ 2163:278f9b13c39a
SunOS fix: Replaced $PWD with `pwd`
under certain conditioins $PWD isn't up to date,
observed on SunOS 5.8
author | Sascha Wilde <wilde@sha-bang.de> |
---|---|
date | Sun, 30 Apr 2006 19:29:57 +0200 |
parents | f16435b45780 |
children | 9419855309cd |
rev | line source |
---|---|
642 | 1 #!/bin/sh |
2 | |
3 hg init | |
4 mkfifo p | |
5 | |
6 hg serve --stdio < p & | |
7 P=$! | |
8 (echo lock; echo addchangegroup; sleep 5) > p & | |
9 Q=$! | |
10 sleep 1 | |
11 kill -HUP $P | |
2088
f16435b45780
Exit test-hup only after the background process has died.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
12 wait |
642 | 13 ls .hg |
14 | |
15 | |
16 |