tests/test-hup
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 17 Feb 2007 04:50:03 -0200
changeset 4099 cf5580c16b13
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
mq: propagate the return error of pop

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