From d8e9d71f87db912d73345fec2f9fcb61b25231cf Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 28 Feb 2025 15:56:15 +0900 Subject: test/sandbox: check mount outcome Do this at the beginning of the test for early failure. Signed-off-by: Ophestra --- test/configuration.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test/configuration.nix') diff --git a/test/configuration.nix b/test/configuration.nix index 0ac867af..9e8afcb4 100644 --- a/test/configuration.nix +++ b/test/configuration.nix @@ -102,6 +102,21 @@ home-manager = _: _: { home.stateVersion = "23.05"; }; 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; -- cgit v1.3.1