tests/test-hup
author Steve Borho <steve@borho.org>
Fri, 07 Dec 2007 18:19:16 -0600
changeset 5626 28899bf513cc
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
win32: use relative path to install source Remove hard-coded path to the source repo to be packaged.

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