aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2019-01-02 14:15:50 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2019-01-02 14:16:12 +0100
commitc3bb936a0f9789d2110e04755ff40919b98cb46b (patch)
tree0c1ab87ac010e64aa8901422dbb03a84ff7cd29f /test
parent62cf608e93f99c3aefcdfa5908f998d7719198f5 (diff)
parentc9066f07c94e3610f7762d6406851cd135790511 (diff)
Merge #14790: Tests: Allow running rpc_bind.py --nonloopback test without IPv6
c9066f07c94e3610f7762d6406851cd135790511 Allow running rpc_bind.py --nonloopback test without IPv6 (Kristaps Kaupe) Pull request description: Don't see a reason why this can't be tested with IPv4 only. Tree-SHA512: 515bdf700fad420e4b1798fd4978b53e2da3ddb26e43b16d68b43071bc912c325f1ceb10046ba3d0494dab289a53c45ddc2de9064117d8c1d6bf11e88323f490
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/rpc_bind.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_bind.py b/test/functional/rpc_bind.py
index c23aa13685..3938ca98dd 100755
--- a/test/functional/rpc_bind.py
+++ b/test/functional/rpc_bind.py
@@ -70,7 +70,7 @@ class RPCBindTest(BitcoinTestFramework):
self.log.info("Check for ipv6")
have_ipv6 = test_ipv6_local()
- if not have_ipv6 and not self.options.run_ipv4:
+ if not have_ipv6 and not (self.options.run_ipv4 or self.options.run_nonloopback):
raise SkipTest("This test requires ipv6 support.")
self.log.info("Check for non-loopback interface")