tests/test-hup
author Thomas Arendsen Hein <thomas@intevation.de>
Wed, 15 Feb 2006 14:22:16 +0100
changeset 1723 fde8fb2cbede
parent 814 0902ffece4b4
child 2088 f16435b45780
permissions -rwxr-xr-x
Fix diff against an empty file (issue124) and add a test for this.

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