view tests/test-hup @ 686:d7d68d27ebe5

Reapply startswith() changes that got lost with stale edit manifest hash: 16d7feedd561591a21727a4c13a1223019d802a7
author Matt Mackall <mpm@selenic.com>
date Tue, 12 Jul 2005 00:51:49 -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