test/sandbox: create marker in /var/tmp
All checks were successful
Test / Hakurei (push) Successful in 49s
Test / Create distribution (push) Successful in 39s
Test / Hakurei (race detector) (push) Successful in 48s
Test / Hpkg (push) Successful in 49s
Test / Sandbox (push) Successful in 1m41s
Test / Sandbox (race detector) (push) Successful in 2m31s
Test / Flake checks (push) Successful in 1m29s

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"