tests/test-hup
author Adrian Buehlmann <adrian@cadifra.com>
Mon, 14 Apr 2008 00:36:01 +0200
changeset 6551 4a064e1977f8
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
ignore *.pyd files *.c modules on Windows are compiled to *.pyd

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