view tests/test-hup @ 10458:7fbba0c04f92

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Sun, 14 Feb 2010 13:05:51 +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/*