tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 10 Sep 2008 13:52:33 +0200
changeset 7025 766d8cb8c622
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
run-tests.py: fix the check for the hg installation with -jn (n > 1)

#!/bin/sh

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