view tests/test-hup @ 5027:17d71a79a257

Fix bashism and remove useless use of cat.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 29 Jul 2007 18:53:09 +0200
parents a413f5c29c46
children
line wrap: on
line source

#!/bin/sh

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