tests/test-hup
author Matt Mackall <mpm@selenic.com>
Wed, 14 Jul 2010 16:55:44 -0500
changeset 11588 8a1f625e971d
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
protocol: unify stream_out client code

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