view tests/test-hup @ 2298:4be9a79b49b1

Merge with crew
author Matt Mackall <mpm@selenic.com>
date Wed, 17 May 2006 13:21:36 -0500
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