Allow running rpc_bind.py --nonloopback test without IPv6

This commit is contained in:
Kristaps Kaupe 2018-11-22 23:57:07 +02:00
parent 3dda4c5f03
commit c9066f07c9

View file

@ -67,7 +67,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")