test/sandbox: check tty outcome
All checks were successful
Test / Create distribution (push) Successful in 25s
Test / Fpkg (push) Successful in 34s
Test / Fortify (push) Successful in 2m21s
Test / Data race detector (push) Successful in 2m48s
Test / Flake checks (push) Successful in 54s

This makes no difference currently but has different behaviour in the native sandbox.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-23 17:28:57 +09:00
parent 46059b1840
commit b71d2bf534
5 changed files with 231 additions and 1 deletions

View File

@@ -40,9 +40,10 @@ let
{
name = "check-sandbox-${tc.name}";
verbose = true;
inherit (tc) tty;
share = foot;
packages = [ ];
command = builtins.toString (checkSandbox tc.name tc.want);
command = "${checkSandbox tc.name tc.want} > /dev/console";
extraPaths = [
{
src = "/proc/mounts";
@@ -53,4 +54,5 @@ let
in
{
preset = callTestCase ./preset.nix;
tty = callTestCase ./tty.nix;
}