From 75e0c5d4061d68dc4802285ec137e464f4e01b17 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 23 Mar 2025 14:14:45 +0900 Subject: test/sandbox: parse full test case This makes declaring multiple tests much cleaner. Signed-off-by: Ophestra --- test/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test.py') diff --git a/test/test.py b/test/test.py index 99b2f16f..7f106a9d 100644 --- a/test/test.py +++ b/test/test.py @@ -102,8 +102,8 @@ if denyOutput != "fsu: uid 1001 is not in the fsurc file\n": if denyOutputVerbose != "fsu: uid 1001 is not in the fsurc file\nfortify: *cannot obtain uid from fsu: permission denied\n": raise Exception(f"unexpected deny verbose output:\n{denyOutputVerbose}") -# Check sandbox state: -swaymsg("exec check-sandbox") +# Check sandbox outcome: +swaymsg("exec check-sandbox-module-default") machine.wait_for_file("/tmp/fortify.1000/tmpdir/1/sandbox-ok", timeout=15) # Start fortify permissive defaults outside Wayland session: -- cgit v1.3.1