tests/test-hup
author Matt Mackall <mpm@selenic.com>
Mon, 08 Oct 2007 18:47:14 -0500
changeset 5423 e5f238a8b0d2
parent 3917 a413f5c29c46
permissions -rwxr-xr-x
osutil: more cleanups - eliminate a level of nesting - untab targets of gotos

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