view tests/test-hup @ 4338:7ae02bce8de2

mq: fix qtop when some patches beneath are guarded
author Brendan Cully <brendan@kublai.com>
date Thu, 12 Apr 2007 14:45:53 -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/*