view tests/test-hup @ 727:acee766fcb79

Get commands to raise Abort instead of ui.warn(...),sys.exit(1).
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 19 Jul 2005 07:42:36 -0800
parents 732ca4b56b7f
children ec85f9e6f3b1 8f5637f0a0c0 0902ffece4b4
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
sleep 1
ls .hg