test-serve: add missing globs
authorAugie Fackler <augie@google.com>
Fri, 15 Jul 2016 12:34:15 -0400
changeset 29563 839380cc3368
parent 29562 cda10ff3175a
child 29564 db565a506729
test-serve: add missing globs check-code missed this because of the closing ) in the "bound to" message.
tests/test-serve.t
--- a/tests/test-serve.t	Fri Jul 15 12:49:58 2016 -0400
+++ b/tests/test-serve.t	Fri Jul 15 12:34:15 2016 -0400
@@ -34,13 +34,13 @@
 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 --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 ..