[PATCH 2 of 3] test-serve: add missing globs
Augie Fackler
raf at durin42.com
Fri Jul 15 12:50:29 EDT 2016
# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1468600455 14400
# Fri Jul 15 12:34:15 2016 -0400
# Node ID 9c608109b64b2212fd1f53f0131d1c8d15ca887a
# Parent ac381c534b1d3ed4486c5a81e6b960e7d647d801
test-serve: add missing globs
check-code missed this because of the closing ) in the "bound to" message.
diff --git a/tests/test-serve.t b/tests/test-serve.t
--- a/tests/test-serve.t
+++ b/tests/test-serve.t
@@ -34,13 +34,13 @@ errors
With -v
$ hgserve
- listening at http://localhost/ (bound to 127.0.0.1:HGPORT1)
+ listening at http://localhost/ (bound to 127.0.0.1:HGPORT1) (glob)
% errors
With -v and -p HGPORT2
$ hgserve -p "$HGPORT2"
- listening at http://localhost/ (bound to 127.0.0.1:HGPORT2)
+ listening at http://localhost/ (bound to 127.0.0.1:HGPORT2) (glob)
% errors
With -v and -p daytime (should fail because low port)
@@ -57,25 +57,25 @@ With -v and -p daytime (should fail beca
With --prefix foo
$ hgserve --prefix foo
- listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)
+ listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) (glob)
% errors
With --prefix /foo
$ hgserve --prefix /foo
- listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)
+ listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) (glob)
% errors
With --prefix foo/
$ hgserve --prefix foo/
- listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)
+ listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) (glob)
% errors
With --prefix /foo/
$ hgserve --prefix /foo/
- listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1)
+ listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) (glob)
% errors
$ cd ..
More information about the Mercurial-devel
mailing list