view tests/test-hup @ 3934:d0bbd8ee50c7

Move test suite docs to the wiki
author Matt Mackall <mpm@selenic.com>
date Tue, 19 Dec 2006 16:38:14 -0600
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/*