diff --git a/tests/test-serve b/tests/test-serve new file mode 100755 --- /dev/null +++ b/tests/test-serve @@ -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` diff --git a/tests/test-serve.out b/tests/test-serve.out new file mode 100644 --- /dev/null +++ b/tests/test-serve.out @@ -0,0 +1,3 @@ +% Without -v +% With -v +listening at http://localhost:20063/