tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 09 Feb 2010 13:48:52 +0100
changeset 10403 b8acd325773e
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
pylintrc: string isn't deprecated, only some of its methods

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