view tests/test-hup @ 10473:634b0e7561ec stable

test-interhg: test the extension
author Martin Geisler <mg@lazybytes.net>
date Sun, 14 Feb 2010 20:28:49 +0100
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/*