Add test reproducing a bug in "hg serve -v"
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 04 Jun 2007 21:48:59 +0200
changeset 4504 c68e6486f295
parent 4503 d6b9c3a03268
child 4505 0ca5ef554987
Add test reproducing a bug in "hg serve -v"
tests/test-serve
tests/test-serve.out
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-serve	Mon Jun 04 21:48:59 2007 +0200
@@ -0,0 +1,12 @@
+#!/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`
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-serve.out	Mon Jun 04 21:48:59 2007 +0200
@@ -0,0 +1,3 @@
+% Without -v
+% With -v
+listening at http://localhost:20063/