tests: add test 'hardened'
This commit is contained in:
parent
c8e73c959e
commit
ff94985b8b
@ -206,6 +206,7 @@ all() {
|
|||||||
basic
|
basic
|
||||||
scenario=full buildTest "$@"
|
scenario=full buildTest "$@"
|
||||||
scenario=regtest buildTest "$@"
|
scenario=regtest buildTest "$@"
|
||||||
|
scenario=hardened buildTest "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# An alias for buildTest
|
# An alias for buildTest
|
||||||
|
@ -165,6 +165,13 @@ let testEnv = rec {
|
|||||||
imports = with scenarios; [ netnsBase regtest ];
|
imports = with scenarios; [ netnsBase regtest ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardened = {
|
||||||
|
imports = [
|
||||||
|
scenarios.secureNode
|
||||||
|
../modules/presets/hardened.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
netnsBase = {
|
netnsBase = {
|
||||||
nix-bitcoin.netns-isolation.enable = true;
|
nix-bitcoin.netns-isolation.enable = true;
|
||||||
test.data.netns = config.nix-bitcoin.netns-isolation.netns;
|
test.data.netns = config.nix-bitcoin.netns-isolation.netns;
|
||||||
|
Loading…
Reference in New Issue
Block a user