From fd2e5754e34f5c25b1e32483f18d7de433b165b0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 21 Mar 2025 12:29:15 +0900 Subject: [PATCH] test/sandbox: rename misleading bind destination Signed-off-by: Ophestra --- test/configuration.nix | 2 +- test/sandbox/fs.nix | 2 +- test/sandbox/mount.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/configuration.nix b/test/configuration.nix index 6c72299..f6c3d14 100644 --- a/test/configuration.nix +++ b/test/configuration.nix @@ -113,7 +113,7 @@ extraPaths = [ { src = "/proc/mounts"; - dst = "/.fortify/host-mounts"; + dst = "/.fortify/mounts"; } ]; } diff --git a/test/sandbox/fs.nix b/test/sandbox/fs.nix index 8f2ea50..9714a82 100644 --- a/test/sandbox/fs.nix +++ b/test/sandbox/fs.nix @@ -23,7 +23,7 @@ let fortify = fs "16d" null null; init0 = fs "80001ff" null null; } null; - host-mounts = fs "124" null null; + mounts = fs "124" null null; } null; bin = fs "800001ed" { sh = fs "80001ff" null null; } null; dev = fs "800001ed" { diff --git a/test/sandbox/mount.nix b/test/sandbox/mount.nix index b3a310b..40f1cdc 100644 --- a/test/sandbox/mount.nix +++ b/test/sandbox/mount.nix @@ -62,7 +62,7 @@ let import "git.gensokyo.uk/security/fortify/test/sandbox" - func main() { sandbox.MustAssertMounts("", "/.fortify/host-mounts", "${writeText "want-mounts.json" (builtins.toJSON wantMounts)}") } + func main() { sandbox.MustAssertMounts("", "/.fortify/mounts", "${writeText "want-mounts.json" (builtins.toJSON wantMounts)}") } ''; in buildGoModule {