diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-09-14 14:59:53 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-09-14 14:59:53 +0900 |
| commit | d0ddd7193407af4162312469f19bd02af4d4bce1 (patch) | |
| tree | 50de78bd74902777d22bc7a6c469a79fd027c126 /test/sandbox/case/default.nix | |
| parent | 70e02090f7163729ff0002aa51cbf002d583233b (diff) | |
test/sandbox: bind /var/tmp writable
This makes it possible to place markers with private tmpdir.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/case/default.nix')
| -rw-r--r-- | test/sandbox/case/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/sandbox/case/default.nix b/test/sandbox/case/default.nix index acf30d7a..96a12a60 100644 --- a/test/sandbox/case/default.nix +++ b/test/sandbox/case/default.nix @@ -64,6 +64,18 @@ let "-s" tc.expectedFilter.${system} ]; + + extraPaths = + if tc.useCommonPaths then + [ ] + else + [ + { + type = "bind"; + src = "/var/tmp"; + write = true; + } + ]; }; testCaseName = name: "cat.gensokyo.hakurei.test." + name; |
