tests/test-hup
author Patrick Mezard <pmezard@gmail.com>
Tue, 02 Sep 2008 22:21:19 +0200
changeset 6976 b072266a83d1
parent 3918 a413f5c29c46
child 7080 a6477aa893b8
permissions -rwxr-xr-x
convert: document source and sink identifiers, fix error message

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