comparison tests/test-commandserver.t @ 37009:5890e5872f36

hgweb: allow defining Server response header for HTTP server By default, the string contains the Python version. Server operators may want to change this. Because we like deterministic tests, we change the test harness to always set this value to a known string. Various globs over the server header have now been removed. # no-check-commit because we add version_string() Differential Revision: https://phab.mercurial-scm.org/D2840
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 13 Mar 2018 09:45:56 -0700
parents 23d12524a202
children 7f78de1c93aa
comparison
equal deleted inserted replaced
37008:16203c6079e7 37009:5890e5872f36
213 ui.mergemarkers=detailed 213 ui.mergemarkers=detailed
214 ui.foo=bar 214 ui.foo=bar
215 ui.nontty=true 215 ui.nontty=true
216 web.address=localhost 216 web.address=localhost
217 web\.ipv6=(?:True|False) (re) 217 web\.ipv6=(?:True|False) (re)
218 web.server-header=testing stub value
218 *** runcommand init foo 219 *** runcommand init foo
219 *** runcommand -R foo showconfig ui defaults 220 *** runcommand -R foo showconfig ui defaults
220 ui.slash=True 221 ui.slash=True
221 ui.interactive=False 222 ui.interactive=False
222 ui.mergemarkers=detailed 223 ui.mergemarkers=detailed