tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Thu, 28 Dec 2006 01:14:12 +0100
changeset 4010 e282448d68f1
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
inst.reason isn't alway in the form (errno, strerror) urllib2.urlopen("foobar://foo") is an example where inst.reason is a string fix issue383

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