aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/configuration.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-28 15:56:15 +0900
committerOphestra <cat@gensokyo.uk>2025-02-28 15:56:15 +0900
commitd8e9d71f87db912d73345fec2f9fcb61b25231cf (patch)
treee314ddb11d7828425c5c8f07013fc82ca69c07e9 /test/configuration.nix
parent558974b996c5a9c6fc1c630153aca9695aa3de9c (diff)
test/sandbox: check mount outcome
Do this at the beginning of the test for early failure. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/configuration.nix')
-rw-r--r--test/configuration.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/configuration.nix b/test/configuration.nix
index 0ac867af..9e8afcb4 100644
--- a/test/configuration.nix
+++ b/test/configuration.nix
@@ -103,6 +103,21 @@
apps = [
{
+ name = "check-sandbox";
+ verbose = true;
+ share = pkgs.foot;
+ packages = [ ];
+ command = "${pkgs.callPackage ./sandbox {
+ inherit (config.environment.fortify.package) version;
+ }}";
+ extraPaths = [
+ {
+ src = "/proc/mounts";
+ dst = "/.fortify/host-mounts";
+ }
+ ];
+ }
+ {
name = "ne-foot";
verbose = true;
share = pkgs.foot;