view tests/test-hup @ 757:7000825ef3ba

Updated help strings and test-help: - options -I/-X: always at the end, don't include them in the synopsis. - NAME is optional for hg revert - other small changes.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 22 Jul 2005 08:47:35 +0100
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