tests/test-hup
author Maxim Dounin <mdounin@mdounin.ru>
Wed, 13 Feb 2008 05:27:04 +0300
changeset 6085 e1f11b8a1e9e
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
hgweb: disable cgitb by default in hgwebdir.fcgi too

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