1
0
forked from rosa/hakurei

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

@@ -31,6 +31,7 @@ in
# For checking pd outcome:
(pkgs.writeShellScriptBin "check-sandbox-pd" ''
hakurei -v run hakurei-test \
-p "/var/tmp/.hakurei-check-ok.0" \
-t ${toString (builtins.toFile "hakurei-pd-want.json" (builtins.toJSON testCases.pd.want))} \
-s ${testCases.pd.expectedFilter.${pkgs.system}} "$@"
'')