view tests/test-hup @ 9822:8b3e0435e690

merge with crew
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 10 Nov 2009 22:42:13 +0100
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/*