tests/test-hup
author Thomas Arendsen Hein <thomas@intevation.de>
Sun, 07 Aug 2005 17:41:13 +0100
changeset 856 fbe964ae7325
parent 814 0902ffece4b4
child 2088 f16435b45780
permissions -rwxr-xr-x
Fixed encoding of directories ending in .d or .i: One .d and .i was mixed up, and string replace method doesn't work in-place.

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