tests/test-hup
author Eric Hopper <hopper@omnifarious.org>
Wed, 18 Oct 2006 02:14:26 -0500
changeset 3449 c8686e3f0291
parent 2529 9419855309cd
child 3853 c0b449154a90
permissions -rwxr-xr-x
Testing the new changegroupsubset remote function in the ssh and http protocols.

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