Bugfix: QA: Run tests with UPnP disabled

Needed for builds configured with --enable-upnp-default
This commit is contained in:
Luke Dashjr 2019-08-06 23:16:35 +00:00 committed by fanquake
parent 48e5bfe224
commit b168dd30cf
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -293,6 +293,7 @@ def initialize_datadir(dirname, n, chain):
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