view tests/test-hup @ 8928:1e16f9b21ce4

test-globalopts: broken by output change in 62e3b9466700
author Martin Geisler <mg@lazybytes.net>
date Tue, 23 Jun 2009 23:05:51 +0200
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/*