aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/configuration.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-09-14 16:45:17 +0900
committerOphestra <cat@gensokyo.uk>2025-09-14 16:45:17 +0900
commit1cdc6b4246ac82adb0c9ed7620d3f7225f1a3e7f (patch)
treec428d3123d5d272122338023d9e7d7067bdb693f /test/sandbox/configuration.nix
parent56aad8dc112f45ec26df72bdbbd959c5e8db5bec (diff)
test/sandbox: create marker in /var/tmp
This prepares the test suite for private TMPDIR. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/configuration.nix')
-rw-r--r--test/sandbox/configuration.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sandbox/configuration.nix b/test/sandbox/configuration.nix
index 84065531..cf2df03d 100644
--- a/test/sandbox/configuration.nix
+++ b/test/sandbox/configuration.nix
@@ -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}} "$@"
'')