tests/test-hup
author Patrick Mezard <pmezard@gmail.com>
Mon, 30 Nov 2009 22:23:04 +0100
changeset 9962 a7178eccf2dc
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
convert: better error on invalid repository type

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