tests/test-hup
author Brendan Cully <brendan@kublai.com>
Tue, 16 Jan 2007 12:52:03 -0800
changeset 4036 ebf1a05f6479
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
Make test-transplant test pull case

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