tests/test-hup
author Matt Mackall <mpm@selenic.com>
Fri, 31 Mar 2006 03:25:35 -0600
changeset 2028 1f1fc418a96c
parent 814 0902ffece4b4
child 2088 f16435b45780
permissions -rwxr-xr-x
ssh: skip noise generated by remote shell we send a dummy command with known output to get in sync

#!/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