view tests/test-hup @ 2381:ab7a438294fc

Rewritten install instructions for hg-purge to match new situation, fixed typos.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 02 Jun 2006 00:28:28 +0200
parents f16435b45780
children 9419855309cd
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 1
kill -HUP $P
wait
ls .hg