test/sandbox: create marker in /var/tmp

This prepares the test suite for private TMPDIR.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-09-14 16:45:17 +09:00
parent 56aad8dc11
commit 1cdc6b4246
3 changed files with 5 additions and 2 deletions

View File

@@ -58,7 +58,9 @@ let
packages = [ ];
path = "${testProgram}/bin/hakurei-test";
args = [
"test"
"hakurei-test"
"-p"
"/var/tmp/.hakurei-check-ok.${toString identity}"
"-t"
(toString (builtins.toFile "hakurei-${tc.name}-want.json" (builtins.toJSON tc.want)))
"-s"