tests/test-hup
author Brendan Cully <brendan@kublai.com>
Sun, 23 Nov 2008 00:44:31 -0800
changeset 7398 2cd1308cb588
parent 7080 a6477aa893b8
permissions -rwxr-xr-x
mq: gracefully abort qpush/qgoto to guarded patch (issue1186)

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