tests/test-hup
author Christian Ebert <blacktrash@gmx.net>
Sat, 12 Jul 2008 19:12:10 +0100
changeset 7115 c5c2d43b01da
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
patchbomb: mime-encode headers and parts not containing patches Do nothing for "hg email --test" to preserve display.

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