tests/test-hup
author Matt Mackall <mpm@selenic.com>
Tue, 15 Dec 2009 10:45:24 -0600
changeset 10076 649bb75b5386
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
Merge with stable

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