From ff94985b8bf11481e315980e499965443abd7d58 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Fri, 18 Dec 2020 13:27:20 +0100 Subject: [PATCH] tests: add test 'hardened' --- test/run-tests.sh | 1 + test/tests.nix | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/test/run-tests.sh b/test/run-tests.sh index c3fd248..ba3f5a5 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -206,6 +206,7 @@ all() { basic scenario=full buildTest "$@" scenario=regtest buildTest "$@" + scenario=hardened buildTest "$@" } # An alias for buildTest diff --git a/test/tests.nix b/test/tests.nix index 8a1cecc..f9924ee 100644 --- a/test/tests.nix +++ b/test/tests.nix @@ -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;