view tests/test-hup @ 4312:82be6af21697

Merge with Matt
author Brendan Cully <brendan@kublai.com>
date Thu, 05 Apr 2007 14:55:27 -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/*