tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 14 Jun 2006 21:53:42 +0200
changeset 2431 d90a9d7c7d4d
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
replace old-http:// syntax by static-http:// and deprecate the redundant hg://

#!/bin/sh

hg init
mkfifo p

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