aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/util.py
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2019-08-06 23:16:35 +0000
committerfanquake <fanquake@gmail.com>2019-08-19 09:58:43 +0800
commitb168dd30cf71ac176e271bc610b0b1a79ceaf075 (patch)
tree2af940012c178afbb0f21e01857007601d15b3e8 /test/functional/test_framework/util.py
parent48e5bfe2240596eb6d2ae64d4daf727fd886a696 (diff)
downloadbitcoin-b168dd30cf71ac176e271bc610b0b1a79ceaf075.tar.xz
Bugfix: QA: Run tests with UPnP disabled
Needed for builds configured with --enable-upnp-default
Diffstat (limited to 'test/functional/test_framework/util.py')
-rw-r--r--test/functional/test_framework/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py
index 3d9be0d0a6..821e1cd3c5 100644
--- a/test/functional/test_framework/util.py
+++ b/test/functional/test_framework/util.py
@@ -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