tests/test-hup
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sun, 14 May 2006 18:37:50 -0300
changeset 2290 6563438219e3
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
add test for revlog.parseindex

#!/bin/sh

hg init
mkfifo p

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