tests/test-hup
author Sascha Wilde <wilde@sha-bang.de>
Tue, 27 Jun 2006 22:50:33 +0200
changeset 2529 9419855309cd
parent 2088 f16435b45780
child 3853 c0b449154a90
permissions -rwxr-xr-x
Some systems are slower ... give 'em some time/

#!/bin/sh

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 3
kill -HUP $P
wait
ls .hg