test: Properly skip feature_syscall_sandbox in valgrind

Follow up to commit fa9c26ab3a
This commit is contained in:
MarcoFalke 2022-02-04 10:58:35 +01:00
parent b2a8371913
commit fa086d891b
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -14,7 +14,7 @@ class SyscallSandboxTest(BitcoinTestFramework):
def skip_test_if_missing_module(self):
if not self.is_syscall_sandbox_compiled():
raise SkipTest("bitcoind has not been built with syscall sandbox enabled.")
if self.options.nosandbox:
if self.disable_syscall_sandbox:
raise SkipTest("--nosandbox passed to test runner.")
def run_test(self):