tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 24 Aug 2007 00:52:28 +0200
changeset 5214 551958d5082c
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
testcase for issue705 (fixed by 316ce5e85b3e)

#!/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
echo .hg/* .hg/store/*