tests/test-serve
author Joel Rosdahl <joel@rosdahl.net>
Mon, 04 Jun 2007 21:48:59 +0200
changeset 4504 c68e6486f295
child 4506 9f952dd4413b
permissions -rwxr-xr-x
Add test reproducing a bug in "hg serve -v"

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