fortify/test/sandbox/default.nix
Ophestra d8e9d71f87
All checks were successful
Test / Create distribution (push) Successful in 21s
Test / Fpkg (push) Successful in 32s
Test / Fortify (push) Successful in 35s
Test / Data race detector (push) Successful in 35s
Test / Flake checks (push) Successful in 49s
test/sandbox: check mount outcome
Do this at the beginning of the test for early failure.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2025-02-28 15:56:15 +09:00

13 lines
184 B
Nix

{
writeShellScript,
callPackage,
version,
}:
writeShellScript "check-sandbox" ''
set -e
${callPackage ./mount.nix { inherit version; }}/bin/test
touch /tmp/sandbox-ok
''