mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-20 14:05:23 +01:00
test: bump sandbox argument minimum version
The -sandbox argument is not present in the v22.0 release. Changing the minimum version to 229900 ensures it's used when testing the master branch. If the argument is backported, the minimum version can be adjusted to e.g. 220100.
This commit is contained in:
parent
8a57a06a50
commit
40849eebd9
1 changed files with 2 additions and 1 deletions
|
@ -473,7 +473,8 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
|||
versions = [None] * num_nodes
|
||||
if self.is_syscall_sandbox_compiled() and not self.disable_syscall_sandbox:
|
||||
for i in range(len(extra_args)):
|
||||
if versions[i] is None or versions[i] >= 219900:
|
||||
# The -sandbox argument is not present in the v22.0 release.
|
||||
if versions[i] is None or versions[i] >= 229900:
|
||||
extra_args[i] = extra_args[i] + ["-sandbox=log-and-abort"]
|
||||
if binary is None:
|
||||
binary = [get_bin_from_version(v, 'bitcoind', self.options.bitcoind) for v in versions]
|
||||
|
|
Loading…
Add table
Reference in a new issue