tests/test-hup
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 08 Sep 2006 10:01:45 +0200
changeset 3070 24c1db20990c
parent 2529 9419855309cd
child 3853 c0b449154a90
permissions -rwxr-xr-x
Include section name and parameter name (if available) in config errors. Added tests for this.

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