view tests/test-serve @ 4504:c68e6486f295

Add test reproducing a bug in "hg serve -v"
author Joel Rosdahl <joel@rosdahl.net>
date Mon, 04 Jun 2007 21:48:59 +0200
parents
children 9f952dd4413b
line wrap: on
line source

#!/bin/sh

hg init test
cd test

echo % Without -v
hg serve -a localhost -p 20063 -d --pid-file=hg.pid
kill `cat hg.pid`

echo % With -v
hg serve -a localhost -p 20063 -d --pid-file=hg.pid -v
kill `cat hg.pid`