tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 28 May 2009 17:44:57 +0200
changeset 8649 2c097e22492c
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
clone: fall back to pull source repo cannot be locked, 937ee88da3ef was a noop 937ee88da3ef was a noop, it was missing the wait keyword

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