changeset 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 d6b9c3a03268
children 0ca5ef554987
files tests/test-serve tests/test-serve.out
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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/