tests/test-hup
author Brendan Cully <brendan@kublai.com>
Tue, 09 Dec 2008 17:02:52 -0800
changeset 7497 f598df061fec
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
Merge with crew-stable

#!/bin/sh

"$TESTDIR/hghave" fifo || exit 80

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