mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-30 07:47:36 +01:00
test: Add test for file system permissions
This commit is contained in:
@@ -880,6 +880,11 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
||||
if platform.system() != "Linux":
|
||||
raise SkipTest("not on a Linux system")
|
||||
|
||||
def skip_if_platform_not_posix(self):
|
||||
"""Skip the running test if we are not on a POSIX platform"""
|
||||
if os.name != 'posix':
|
||||
raise SkipTest("not on a POSIX system")
|
||||
|
||||
def skip_if_no_bitcoind_zmq(self):
|
||||
"""Skip the running test if bitcoind has not been compiled with zmq support."""
|
||||
if not self.is_zmq_compiled():
|
||||
|
||||
Reference in New Issue
Block a user