view tests/test-hup @ 8991:7e0b31dfc66f

branches: add --closed flag for consistency with heads
author Matt Mackall <mpm@selenic.com>
date Wed, 01 Jul 2009 00:31:59 -0500
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/*