# HG changeset patch # User Augie Fackler # Date 1468600455 14400 # Node ID 839380cc33681c09019626505fe6c474889d0a73 # Parent cda10ff3175a13cf1c64e3a1e82005add45b7582 test-serve: add missing globs check-code missed this because of the closing ) in the "bound to" message. diff -r cda10ff3175a -r 839380cc3368 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 ..