tests/test-hup
author Thomas Arendsen Hein <thomas@intevation.de>
Wed, 17 May 2006 19:59:15 +0200
changeset 2303 78e7fd16f472
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
Corrected tests for commit now consistently stripping last newline.

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