view tests/test-hup @ 5479:dd5ca84ed868

merge with crew-stable
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 25 Oct 2007 21:37:20 +0200
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/*