author | Vadim Gelfer <vadim.gelfer@gmail.com> |
Fri, 05 May 2006 10:45:08 -0700 | |
changeset 2214 | 6c6c0e5595a2 |
parent 2088 | f16435b45780 |
child 2529 | 9419855309cd |
permissions | -rwxr-xr-x |
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 |