tests/test-hup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 01 Dec 2006 13:34:09 +0100
changeset 3853 c0b449154a90
parent 2529 9419855309cd
child 3917 a413f5c29c46
permissions -rwxr-xr-x
switch to the .hg/store layout, fix the tests

#!/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
ls -R .hg