view tests/test-hup @ 5594:8623debad845

coverage: return to not assuming that python is in /usr/bin
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 02 Dec 2007 21:54:56 -0800
parents a413f5c29c46
children a6477aa893b8
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/*