view tests/test-hup @ 2231:9a2f4b2e7cf1

gpg extension: Always remove temporary files created by 'hg sigcheck'.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 09 May 2006 13:26:16 +0200
parents f16435b45780
children
line wrap: on
line source

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