view tests/test-hup @ 7465:8f0305874701

tests: allow cvs import to reorder its filename list Also fix script to generate non-zero length test file b.
author Frank Kingswood <frank@kingswood-consulting.co.uk>
date Mon, 01 Dec 2008 13:42:04 +0000
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/*