test/sandbox: fix stdout tty check
All checks were successful
Test / Create distribution (push) Successful in 27s
Test / Fpkg (push) Successful in 37s
Test / Fortify (push) Successful in 2m22s
Test / Data race detector (push) Successful in 2m57s
Test / Flake checks (push) Successful in 56s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-24 16:23:06 +09:00
parent d097eaa28f
commit 61d86c5e10
5 changed files with 8 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ check_offset = 0
def check_sandbox(name):
global check_offset
check_offset += 1
swaymsg(f"exec check-sandbox-{name}")
swaymsg(f"exec script /dev/null -E always -qec check-sandbox-{name}")
machine.wait_for_file(f"/tmp/fortify.1000/tmpdir/{check_offset}/sandbox-ok", timeout=15)