changeset 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 1415b78869eb
children d7007b807fa2
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Thu Aug 16 00:40:20 2018 -0400
+++ b/tests/run-tests.py	Thu Aug 16 00:42:04 2018 -0400
@@ -1068,6 +1068,7 @@
         env["HGUSER"]   = "test"
         env["HGENCODING"] = "ascii"
         env["HGENCODINGMODE"] = "strict"
+        env["HGHOSTNAME"] = "test-hostname"
         env['HGIPV6'] = str(int(self._useipv6))
 
         extraextensions = []