view tests/test-hup @ 4015:769be3c57564

Handle exceptions in do_hgweb: Send "Internal Server Error", log traceback
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 02 Jan 2007 22:12:38 +0100
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/*