tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 10 Dec 2006 00:06:59 +0100
changeset 3851 8f18e31c4441
parent 2529 9419855309cd
child 3853 c0b449154a90
permissions -rwxr-xr-x
add "requires" file to the repo, specifying the requirements

#!/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