Patchwork [2,of,3] test-serve: add missing globs

login
register
mail settings
Submitter Augie Fackler
Date July 15, 2016, 4:50 p.m.
Message ID <9c608109b64b2212fd1f.1468601429@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/15886/
State Accepted
Headers show

Comments

Augie Fackler - July 15, 2016, 4:50 p.m.
# HG changeset patch
# User Augie Fackler <augie@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.

Patch

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 ..