view tests/test-hup @ 4562:d48e1b5f8265

patchbomb: 0c61124ad877 moved setremoteconfig into cmdutil
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 12 Jun 2007 14:39:36 -0700
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/*