tests: add test 'hardened'

This commit is contained in:
Erik Arvstedt 2020-12-18 13:27:20 +01:00
parent c8e73c959e
commit ff94985b8b
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 8 additions and 0 deletions

View File

@ -206,6 +206,7 @@ all() {
basic
scenario=full buildTest "$@"
scenario=regtest buildTest "$@"
scenario=hardened buildTest "$@"
}
# An alias for buildTest

View File

@ -165,6 +165,13 @@ let testEnv = rec {
imports = with scenarios; [ netnsBase regtest ];
};
hardened = {
imports = [
scenarios.secureNode
../modules/presets/hardened.nix
];
};
netnsBase = {
nix-bitcoin.netns-isolation.enable = true;
test.data.netns = config.nix-bitcoin.netns-isolation.netns;