tests/test-hup
author Thomas Arendsen Hein <thomas@intevation.de>
Sun, 30 Apr 2006 19:30:59 +0200
changeset 2164 cbd458228a96
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
Applied $PWD fix (changeset 278f9b13c39a) to tests/test-hook, too.

#!/bin/sh

hg init
mkfifo p

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