tests/test-hup
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 01 Jun 2006 17:51:40 +0200
changeset 2359 a392eaa81f29
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
Allow comma to separate types in allow_archive, too. Use longer variable name.

#!/bin/sh

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 1
kill -HUP $P
wait
ls .hg