diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-24 01:39:31 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-24 01:42:38 +0900 |
| commit | 0eb1bc6301591a9d8ebcd348238c2e98ee2a7bc0 (patch) | |
| tree | 011dd19d7e22ae3f8dfaf654d131184415e973b7 /test/sandbox/case/default.nix | |
| parent | 1eb837eab820e6a0365bddea93e0d1d91f957f8a (diff) | |
test/sandbox: verify outcome via mountinfo
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/case/default.nix')
| -rw-r--r-- | test/sandbox/case/default.nix | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/test/sandbox/case/default.nix b/test/sandbox/case/default.nix index 9057776b..5bdbba8f 100644 --- a/test/sandbox/case/default.nix +++ b/test/sandbox/case/default.nix @@ -14,14 +14,18 @@ let ; }; - ent = fsname: dir: type: opts: freq: passno: { + ignore = "//ignore"; + + ent = root: target: vfs_optstr: fstype: source: fs_optstr: { + id = -1; + parent = -1; inherit - fsname - dir - type - opts - freq - passno + root + target + vfs_optstr + fstype + source + fs_optstr ; }; @@ -34,6 +38,7 @@ let inherit fs ent + ignore ; }; in @@ -44,12 +49,6 @@ let share = foot; packages = [ ]; command = "${checkSandbox tc.name tc.want} > /dev/console"; - extraPaths = [ - { - src = "/proc/mounts"; - dst = "/.fortify/mounts"; - } - ]; }; in { |
