tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 19 May 2009 03:59:58 +0200
changeset 8518 3f4f14eab085
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
update --clean: do not unlink added files (issue575)

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