mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Allow running rpc_bind.py --nonloopback test without IPv6
This commit is contained in:
@@ -67,7 +67,7 @@ class RPCBindTest(BitcoinTestFramework):
|
|||||||
|
|
||||||
self.log.info("Check for ipv6")
|
self.log.info("Check for ipv6")
|
||||||
have_ipv6 = test_ipv6_local()
|
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.")
|
raise SkipTest("This test requires ipv6 support.")
|
||||||
|
|
||||||
self.log.info("Check for non-loopback interface")
|
self.log.info("Check for non-loopback interface")
|
||||||
|
|||||||
Reference in New Issue
Block a user