tests/test-hup
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Sat, 27 Sep 2008 10:11:31 +0200
changeset 7052 0ca4f42daed7
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
merge with crew-stable

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