tests/test-hup
author Eric Hopper <hopper@omnifarious.org>
Thu, 29 Jun 2006 18:31:17 -0700
changeset 2533 589474a1dc36
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
Create a test to make sure old CGI scripts will still work.

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