Bug 1599340 - Remote mochitest should consider host's suffix for ssltunnel. r=gbrown

Differential Revision: https://phabricator.services.mozilla.com/D80588
This commit is contained in:
Makoto Kato 2020-06-24 04:46:38 +00:00
parent 2c3533116e
commit 0f09630e38

View File

@ -699,8 +699,9 @@ class SSLTunnel:
""" Starts the SSL Tunnel """
# start ssltunnel to provide https:// URLs capability
bin_suffix = mozinfo.info.get('bin_suffix', '')
ssltunnel = os.path.join(self.utilityPath, "ssltunnel" + bin_suffix)
ssltunnel = os.path.join(self.utilityPath, "ssltunnel")
if os.name == 'nt':
ssltunnel += '.exe'
if not os.path.exists(ssltunnel):
self.log.error(
"INFO | runtests.py | expected to find ssltunnel at %s" %