test/sandbox: bind /var/tmp writable
All checks were successful
Test / Hakurei (push) Successful in 45s
Test / Hakurei (race detector) (push) Successful in 45s
Test / Create distribution (push) Successful in 38s
Test / Hpkg (push) Successful in 46s
Test / Sandbox (push) Successful in 1m36s
Test / Sandbox (race detector) (push) Successful in 2m29s
Test / Flake checks (push) Successful in 1m23s

This makes it possible to place markers with private tmpdir.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-09-14 14:59:53 +09:00
parent 70e02090f7
commit d0ddd71934
7 changed files with 27 additions and 0 deletions

View File

@@ -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;