view tests/test-hup @ 8230:ec98f35e3e16

fancyopts: add copyright and license header
author Martin Geisler <mg@lazybytes.net>
date Sun, 26 Apr 2009 01:56:52 +0200
parents a6477aa893b8
children
line wrap: on
line source

#!/bin/sh

"$TESTDIR/hghave" fifo || exit 80

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/*