tests/test-hup
author TK Soh <teekaysoh@yahoo.com>
Wed, 03 May 2006 11:25:36 +0200
changeset 2187 09d3eebdd9b2
parent 2088 f16435b45780
child 2529 9419855309cd
permissions -rwxr-xr-x
tests: support older version of bunzip2 and, possibly, gunzip too

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