Bugfix: QA: Run tests with UPnP disabled

Needed for builds configured with --enable-upnp-default

Github-Pull: #16646
Rebased-From: b168dd30cf
This commit is contained in:
Luke Dashjr
2019-08-06 23:16:35 +00:00
committed by fanquake
parent 1d12e52db0
commit 9fe8d283e0

View File

@@ -302,6 +302,7 @@ def initialize_datadir(dirname, n):
f.write("discover=0\n")
f.write("listenonion=0\n")
f.write("printtoconsole=0\n")
f.write("upnp=0\n")
os.makedirs(os.path.join(datadir, 'stderr'), exist_ok=True)
os.makedirs(os.path.join(datadir, 'stdout'), exist_ok=True)
return datadir