view tests/test-hup @ 4247:bd46b83b9692

avoid wsgiapplication <-> MercurialHTTPServer circular reference
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 19 Mar 2007 19:07:38 -0300
parents a413f5c29c46
children
line wrap: on
line source

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