tests/test-hup
author Matt Mackall <mpm@selenic.com>
Wed, 06 Jul 2005 22:27:25 -0800
changeset 642 5d6177b72fcc
child 647 732ca4b56b7f
permissions -rw-r--r--
Update tests

#!/bin/sh

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 1
kill -HUP $P
sleep 1
ls .hg