test-hup
15 lines
| 194 B
| text/plain
|
TextLexer
/ tests / test-hup
Matt Mackall
|
r642 | #!/bin/sh | ||
Patrick Mezard
|
r7080 | "$TESTDIR/hghave" fifo || exit 80 | ||
Matt Mackall
|
r642 | hg init | ||
mkfifo p | ||||
hg serve --stdio < p & | ||||
P=$! | ||||
(echo lock; echo addchangegroup; sleep 5) > p & | ||||
Q=$! | ||||
Sascha Wilde
|
r2529 | sleep 3 | ||
Matt Mackall
|
r642 | kill -HUP $P | ||
Thomas Arendsen Hein
|
r2088 | wait | ||
Thomas Arendsen Hein
|
r3918 | echo .hg/* .hg/store/* | ||