tests/test-hup
author Vadim Gelfer <vadim.gelfer@gmail.com>
Thu, 27 Jul 2006 15:53:08 -0700
changeset 2709 e475fe2a6029
parent 2529 9419855309cd
child 3853 c0b449154a90
permissions -rwxr-xr-x
run-tests.py: skip tests that should not run. print message when any test is skipped. count skipped tests.

#!/bin/sh

hg init
mkfifo p

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