view tests/test-hup @ 7268:e05092a3c2fe

test-http-proxy: hide logged URL port number, works with--jobs
author Patrick Mezard <pmezard@gmail.com>
date Mon, 27 Oct 2008 23:47:17 +0100
parents a6477aa893b8
children
line wrap: on
line source

#!/bin/sh

"$TESTDIR/hghave" fifo || exit 80

hg init
mkfifo p

hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
sleep 3
kill -HUP $P
wait
echo .hg/* .hg/store/*