Mercurial > hg
comparison tests/run-tests.py @ 39119:1f987f7c832b
tests: force a stable hostname in patchbomb tests
No visible output changes in this commit because everything is globbed
away, but on Python 3 the stable hostname will mean that the headers
don't trigger RFC2822 multi-line mode because they'll always be
consistently short.
Differential Revision: https://phab.mercurial-scm.org/D4295
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Thu, 16 Aug 2018 00:42:04 -0400 |
parents | 35180ade80c1 |
children | c496e8c14b9e |
comparison
equal
deleted
inserted
replaced
39118:1415b78869eb | 39119:1f987f7c832b |
---|---|
1066 + ' -c "import sys; sys.exit(0)"') | 1066 + ' -c "import sys; sys.exit(0)"') |
1067 env["HGMERGE"] = "internal:merge" | 1067 env["HGMERGE"] = "internal:merge" |
1068 env["HGUSER"] = "test" | 1068 env["HGUSER"] = "test" |
1069 env["HGENCODING"] = "ascii" | 1069 env["HGENCODING"] = "ascii" |
1070 env["HGENCODINGMODE"] = "strict" | 1070 env["HGENCODINGMODE"] = "strict" |
1071 env["HGHOSTNAME"] = "test-hostname" | |
1071 env['HGIPV6'] = str(int(self._useipv6)) | 1072 env['HGIPV6'] = str(int(self._useipv6)) |
1072 | 1073 |
1073 extraextensions = [] | 1074 extraextensions = [] |
1074 for opt in self._extraconfigopts: | 1075 for opt in self._extraconfigopts: |
1075 section, key = opt.encode('utf-8').split(b'.', 1) | 1076 section, key = opt.encode('utf-8').split(b'.', 1) |