tests/test-hup
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 17 Feb 2006 17:41:18 -0600
changeset 1738 f293ad87f928
parent 814 0902ffece4b4
child 2088 f16435b45780
permissions -rwxr-xr-x
Don't hard-code /tmp in test-ro-message This makes the test succeed when $TMPDIR is set.

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