tests/test-hup
author Bryan O'Sullivan <bos@serpentine.com>
Tue, 22 Aug 2006 08:54:19 -0700
changeset 2984 e1762867a734
parent 2529 9419855309cd
child 3853 c0b449154a90
permissions -rwxr-xr-x
mercurial.el: fix calls to goto-char.

#!/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
ls .hg