tests/test-hup
author Vadim Gelfer <vadim.gelfer@gmail.com>
Mon, 12 Dec 2005 07:50:43 -0800
changeset 1585 d7c4b9bfcc94
parent 814 0902ffece4b4
child 2088 f16435b45780
permissions -rwxr-xr-x
delete unintended print statement

#!/bin/sh

hg init
mkfifo p

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