view tests/test-hup @ 642:5d6177b72fcc

Update tests
author Matt Mackall <mpm@selenic.com>
date Wed, 06 Jul 2005 22:27:25 -0800
parents
children 732ca4b56b7f
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